Introduction
XML: Structured data in a chaotic world
()
How this course is organized and what you should know
()
Getting set up
()
1. XML Overview
What is XML?
()
Review of various XML technologies
()
Describing data with XML
()
XML advantages and drawbacks
()
Real-world examples of XML
()
2. XML Content and Formatting
XML content types
()
Proper XML syntax
()
Valid XML documents
()
The XML namespace
()
3. Building XML Content
Creating an XML file
()
Example: Styling XML content with CSS
()
Advanced styling
()
4. Manipulating XML with the DOM
A quick introduction to the document object model
()
Inspecting document content
()
Creating document content
()
Loading XML from an external source
()
Building content from XML
()
Challenge: BusinessCard XML to HTML
()
Solution: BusinessCard XML to HTML
()
5. XML and Other Data Formats
XML vs. JSON and CSV
()
XML to JSON
()
Tools for working with XML
()
6. Querying XML with XPath
What is XPath?
()
Experimenting with XPath
()
XPath in JavaScript
()
Challenge: BusinessCard XPath
()
Solution: BusinessCard XPath
()
7. Transforming XML with XSLT
What is XSLT?
()
Defining XSLT style sheets
()
Simple XSLT
()
Repeating items
()
Conditional logic
()
Sorting data
()
XSLT in the browser
()
Challenge: BusinessCard XSLT
()
Solution: BusinessCard XSLT
()
8. Document Type Definitions
What is a DTD?
()
Using DTDs
()
Declaring elements
()
Declaring attributes
()
Challenge: Building a DTD for BusinessCard
()
Solution: Building a DTD for BusinessCard
()
9. XML Schema
What is XML Schema?
()
Anatomy of a schema
()
Declaring simple elements
()
Example: Simple elements
()
Declaring complex elements
()
Declaring attributes
()
Example: Complex elements
()
Challenge: Build a schema for BusinessCard
()
Solution: Build a schema for BusinessCard
()