Table of Contents
- About the Author
- We Want to Hear from You!
- Part I: At a Glance
- Day 1. Welcome to XML
- Day 2. Creating XML Documents
- Day 3. Creating Well-Formed XML Documents
- Day 4. Creating Valid XML Documents: DTDs
- Declaring Attributes in DTDs
- Day 6. Creating Valid XML Documents: XML Schemas
- Day 7. Creating Types in XML Schemas
- Part I. In Review
- Day 8. Formatting XML by Using Cascading Style Sheets
- Day 9. Formatting XML by Using XSLT
- Day 10. Working with XSL Formatting Objects
- Part II. In Review
- Part III: At a Glance
- Day 11. Extending HTML with XHTML
- Day 12. Putting XHTML to Work
- Day 13. Creating Graphics and Multimedia: SVG and SMIL
- Day 14. Handling XLinks, XPointers, and XForms
- Part III. In Review
- Part IV: At a Glance
- Day 16. Using Java and .NET: DOM
- Day 17. Using Java and .NET: SAX
- Day 18. Working with SOAP and RDF
- Part IV. In Review
- Part V: At a Glance
- Day 19. Handling XML Data Binding
- Day 20. Working with XML and Databases
- Day 21. Handling XML in .NET
- Part V. In Review
- Appendix A. Quiz Answers
Part III: At a Glance
XML at Work
In Part III, you'll see XML at work, as it's used every day around the world. You're going to start by taking an in-depth look at one of the most popular uses of XML around—Extensible Hypertext Markup Language (XHTML).
XHTML is W3C's XML-based version of HTML. As you're going to see, the idea behind making XHTML XML-based is so that you can validate XHTML documents as you would HTML ones; this means you can remove a lot of the sloppiness that's crept into HTML authorship. And you'll see how to extend XHTML with your own elements (something you can't do with HTML).
You're going to take a look at Synchronized Multimedia Integration Language (SMIL), which lets you create XML-based multimedia shows, and Scalable Vector Graphics (SVG), which lets you create graphics images in browsers.
In this part you'll also take a look at XLinks and XPointers, which you use in XML to handle hyperlinks and URIs. XLinks and XPointers can get quite involved; they let you pick out specific parts of documents at will.
Finally, in this part you'll see how to work with the relatively new XForms specification, which lets you display controls such as buttons, list boxes, and check boxes by using XML documents.