Join Joe Marini for an in-depth discussion in this video What is a DTD?, part of XML Essential Training.
…There are a couple of different ways to…associate sets of rules with your XML documents,…to help ensure their quality and make sure that they are, as error free as possible.…One of those ways is through what's called document type definitions.…And that's what we're going to look at in this chapter.…Document type definitions provide a way to constrain the content of XML documents.…So that you can specify what kinds of tags, and…attributes and other types of content are and are not allowed.…
So you can specify what kind of content can appear, where…it can appear, and what kinds of content tags can have.…DTDs can be included directly in an XML file, or be declared…as an external DTD and then associated with more than one XML document.…DTDs are pretty simple to write, but…the tradeoff is that they're not entirely powerful.…There are some basic rules you can lay down but, XML…schema, which we'll look at next is actually a lot more powerful.…
So why would you use a DTD?…Well, if you're taking your XML code and you're giving it to third parties,…
- 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?
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.