Join Joe Marini for an in-depth discussion in this video Anatomy of a schema, part of XML Essential Training.
- [Narrator] Let's take a quick look…at the structure of a Schema file.…Schemas use the namespace at…www.w3.org/2001/xmlschema.…Usually Schema files use the xsd namespace prefix…and, if you recall, back we talked about namespaces…earlier in the course…and we saw them in action…when we went through the XSLT examples.…A Schema definition typically begins with…the xsd Schema tab and you can see I've got that here.…
And then inside the Schema tag, I would put in my element…an attribute definitions.…For example, this will define an element using…the xsd element tag…and you can see here in this example…I've got an element that I'm declaring…named ElemName and then I can put other content definitions…inside my element that went along with the element.…For example, I can put an xsd attribute tag in here…and that would indicate that my element has…an attribute named AttrName.…Now this is a pretty simple example…and things can get more complex than this…depending on how much control…and what kind of constraints we want to put in place…
- 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.