Join Joe Marini for an in-depth discussion in this video Anatomy of a schema, part of XML Essential Training.
…Okay, let's take a quick look at the anatomy of a schema file.…Schemas use the namespace at www.w3.org/2001/xmlschema.…Usually, schema files use the xsd prefix.…And if you recall back, we talked about namespaces earlier in the title.…And we saw them in action when we went through the XSLT examples.…So a schema definition typically begins with the xsd:schema…tag, and you can see that I've got that here.…
And then inside the schema tag, I…would put in my element and attribute definitions.…So, for example, I 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 would put other content definitions inside my element…that went along with that element.…So, for example, I could put an xsd:attribute tag in there,…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, depending on how…much control and what kind of constraints we want to put in place on the XML data.…
- 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.