Join Joe Marini for an in-depth discussion in this video Declaring elements, part of XML Essential Training.
…Declaring elements inside a DTD is accomplished using an…element declaration, and element declarations have the format of an…angle bracket followed by an exclamation point and the…capital word ELEMENT followed by a Name and a ContentSpecification.…Where the name 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.…
There's empty content in which the element has no…child elements at all, so there's no child elements.…No text, nothing it can't contain anything.…A good example of this is the image tag…in HTML or the horizontal rule tag and so forth.…These tags have nothing inside them.…Then there's the any content model which…is the opposite.…This means that the element has no content constraints whatsoever.…It can contain pretty much anything which is what the word any obviously needs.…Then there's element content which means that the element can contain the…
- What is XML?
- The advantages and drawbacks of XML
- Proper XML syntax
- Working with namespaces
- Styling XML tags with CSS
- Extracting and manipulating data
- Taking XPath and XSLT for a spin
- Creating document type definitions and schema definitions
Skill Level Beginner
1. Getting Started
2. How Developers Use XML
Real-world examples of XML6m 21s
3. Basic Rules of XML
4. Starting to Work with XML
5. Using the DOM to Manipulate XML
6. XML and XPath
7. XML and XSLT
8. XSLT Examples
9. Creating Document Type Definitions (DTDs)
10. Creating XML Schema Definitions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.