Dive into the key aspects of XML to deliver data on the web
From simple data transfers to providing multi–channeled content, there′s so much you can do with XML and this guide will get you started. It walks you through everything you need to know about this powerful language, including what it is, how it works, what technologies accompany it, and how you can apply it. You′ll quickly discover how to manipulate XML documents, store XML in databases, extract data, utilize web services, and even use it for web page and image display. With the help of a case study, you′ll even learn how to apply this information to give your programming a boost.
Beginning XML, 5th Edition
- Covers the goals of XML and the rules for constructing it
- Explores different techniques that help you verify that the XML is in the correct format
- Shows how to work with XQuery to create new XML documents and query existing data
- Explains how to retrieve data using DOM, XPath, and LINQ to XML
- Examines programming techniques specifically designed to cope with large documents
- Details how to present data for use by different systems
- Demonstrates a realistic XML pipeline used in a publishing business
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that guides you through all the techniques involved.
wrox.com Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
PART I: INTRODUCING XML
CHAPTER 1: WHAT IS XML? 3
CHAPTER 2: WELL–FORMED XML 25
CHAPTER 3: XML NAMESPACES 53
PART II: VALIDATION
CHAPTER 4: DOCUMENT TYPE DEFINITIONS 83
CHAPTER 5: XML SCHEMAS 117
CHAPTER 6: RELAX NG AND SCHEMATRON 175
PART III: PROCESSING
CHAPTER 7: EXTRACTING DATA FROM XML 211
CHAPTER 8: XSLT 239
PART IV: DATABASES
CHAPTER 9: XQUERY 307
CHAPTER 10: XML AND DATABASES 341
PART V: PROGRAMMING
CHAPTER 11: EVENT–DRIVEN PROGRAMMING 403
CHAPTER 12: LINQ TO XML 451
PART VI: COMMUNICATION
CHAPTER 13: RSS, ATOM, AND CONTENT SYNDICATION 485
CHAPTER 14: WEB SERVICES 539
CHAPTER 15: SOAP AND WSDL 573
CHAPTER 16: AJAX 615
PART VII: DISPLAY
CHAPTER 17: XHTML AND HTML 5 649
CHAPTER 18: SCALABLE VECTOR GRAPHICS (SVG) 689
PART VIII: CASE STUDY
CHAPTER 19: CASE STUDY: XML IN PUBLISHING 727
APPENDIX A: ANSWERS TO EXERCISES 749
APPENDIX B: XPATH FUNCTIONS 773
APPENDIX C: XML SCHEMA DATA TYPES 797
Joe Fawcett is the head of software at Kaplan Financial and was one of the first Microsoft MVPs for XML.
Liam R. E. Quin is the W3C XML Activity Lead and Staff Contact for the XML Query Working Group, and the XSL–FO subgroup of the XSL Working Group.
Danny Ayers works for Talis on applications for their hosted semantic web platform.