Join Joe Marini for an in-depth discussion in this video Valid documents, part of XML Essential Training.
…In the previous video, I talked a little bit about proper XML syntax which is…needed to make sure that the XML parser is able to properly parse your XML file.…But above and beyond that, there's also…a concept of what's called valid XML documents.…So let's quickly review.…Suppose you have an XML parser represented by these gears.…You give it an XML file, and then as long as the syntax is proper,…and you've correctly named your elements, and you've got you know, attributes that…are quoted and so on, then the good results come out the other side.…
And that's called well-formed.…But there's another way to make sure that XML documents are what's called valid.…You can supply a set of rules, which are applied…to the parsing process in addition to the well-formed checks.…So, for example,…you can supply rules that say things like Tag A…is only ever allowed to occur inside of Tag B.…Attribute X only has these values and so on.…If the XML parser parses the document correctly and…the document content passes the rules, that's called valid.…
- 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.