Join Joe Marini for an in-depth discussion in this video What is XML schema?, part of XML Essential Training.
- [Instructor] In this chapter,…we're going to look at an alternative way…of enforcing rules and constraints on your XML data,…called XML Schema.…XML Schema is an alternative to using DTDs,…which we looked at in the last chapter.…XML Schema allows you to constrain the document content…just like you do in a DTD.…So, in that way, they're similar.…But Schema is actually much more powerful…and sophisticated than DTDs are.…They allow a much finer level of control…than DTDs provide you with.…
So, for example, recall from the previous chapter,…how we talked a little bit about how it's possible,…for example, to generally control how many elements…can appear inside of another element…by using special characters.…But there was no way to say…that an element can appear only four times…in another element or constrain the value…of an attribute to a specific pattern.…In Schema, you can do things like that.…You can also do things like derive your own types…and enforce those rules on your XML data.…
Schema files are written using the same XML syntax…
- 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.