Sams Teach Yourself XML in 21 Days
- Table of Contents
- About the Author
- Acknowledgments
- We Want to Hear from You!
- Introduction
- 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 15. Using JavaScript and XML
- 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
Day 1. Welcome to XML
Welcome to Extensible Markup Language, XML, the language for handling data in compact, easy-to-manage form—not to mention the most powerful advance the Internet has seen for years. The XML world is a large and ever-expanding one, full of complex and unpredictable innovations, and this book is your guided tour to that world. We're going to go just about everywhere XML goes these days, and that's going to include some pretty amazing territory. Today, we'll get our start with XML and see what it's good for. Here are today's topics in overview:
- Markup languages
- Introducing XML
- Seeing XML in a browser
- Well-formed and valid XML documents
- Extracting data from XML documents
- Working with XML validators
- Seeing XML at work
- Finding XML resources on the Internet
The name of the game in XML is data, because XML is all about storing your data—phone directories, business orders, book lists, anything you like. Unlike HTML, XML is not about displaying your data—it's about packaging that data to transport it easily. The main reason XML has experienced such popularity is that it stores its data as text, meaning that XML documents can be transferred using the already-existing Web technology, which was built to transfer HTML documents as text.
We'll start today's work by taking a look at the languages designed to let you store and handle text, called markup languages, and there are plenty of them out there. As we're going to see, XML is both different and more powerful than most other markup languages.
All About Markup Languages | Next Section

Account Sign In
View your cart