Join Joe Marini for an in-depth discussion in this video Declaring elements, part of XML Essential Training.
- [Instructor] Declaring elements…inside a DTD is accomplished using…an elements declaration, and element declarations…have the format of an angle bracket…followed by exclamation point and…the capital word element followed by…a name and a content specification.…The name field here is the name of…the element you're going to be declaring…and the content specification defines…what the valid contents for the element is.…Elements can contain one of four different…types of what are known as content models.…
First is the empty content model in which…the element has no child elements at all.…No text, no tags, nothing.…A good example of this is the image tag…in HTML or the horizontal rule tag and so forth.…Those tags have nothing inside them.…Next is the any content model,…which is the opposite from empty.…This means the element has no content constraints…whatsoever, it can contain pretty much anything.…Then there's the element content model,…which means the element can contain…the child elements that you list for…the content specification, but that's it.…
- What is XML?
- Advantages and drawbacks of XML
- Proper XML syntax
- Working with XML namespaces
- Styling XML tags
- Discovering and creating document content
- Manipulating XML content using XPath and XSLT
- Document type definitions and XML schema
Skill Level Beginner
1. Getting Started
2. XML Overview
3. Working with XML
4. Manipulating XML with the DOM
5. XML and XPath
6. XML and XSLT
7. XSLT Examples
8. Document Type Definitions
9. XML Schema
Next steps1m 4s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.