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 21. Handling XML in .NET
Today we're going to take a look at working with XML in Microsoft's .NET programming. Some people aren't fond of Microsoft applications, but Microsoft provides so much XML support that this book would be seriously remiss if it didn't discuss that support. If you have Visual Studio .NET, you can follow along with today's discussion by creating and implementing the examples we'll develop.
Here's an overview of today's topics:
- Editing XML documents and XML schemas in .NET
- Writing and reading XML documents from code
- Using the XML ASP.NET control to display formatted XML
- Creating XML Web services
Today we're going to look at various ways of working with XML with Visual Studio .NET programming. Some use XML explicitly, as when we create a new XML document with code. Others use XML implicitly, such as XML Web services, which send and receive data from code on the Internet by using XML behind-the-scenes. You're going to get a good introduction to using XML and .NET today, starting by creating and editing an XML document.
Creating and Editing an XML Document in .NET | Next Section

Account Sign In
View your cart