Join Joe Marini for an in-depth discussion in this video What is an XML schema?, part of XML Essential Training.
…In this chapter we're going to look at an alternative way of…enforcing rules and constraints on your XML data, and its called XML schema.…XML schema is an alternative to using DTD's.…XML schema allows you to constrain the document content just like DTDs do.…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.…
For example, recall from the previous chapter we talked…a little bit about how it's possible to, you know.…For example, generally control how many elements…can appear inside of another element by using…special characters to say that it can appear zero, or one time, or many times.…But there was really…no way for example to say that an element can only appear four times in another…element, or constrain the value of an attribute to say a specific pattern.…Now in schema, you can do things like that.…
In schema, you can also do things like derive your…own types, and enforce those rules on your XML document.…
- 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.