Book description
As XML gains popularity, developers are looking to implement XML technologies in their line-of-business applications
This book offers readers real-world insight into XML so that they can build the best possible applications
Offers an in-depth look at XML and discusses XML tools, services (RSS, SOAP, REST, WSDL), programming (DOM, SAX, Ajax), and languages (.NET, Java, PHP)
Table of contents
- Copyright
- Credits
- About the Authors
- Acknowledgments
- Introduction
-
I. XML Basics
- 1. XML Syntax
- 2. XML Editors
- II. Presentation
-
III. Defining Structure
-
5. Document Type Definitions (DTDs)
- 5.1. Why Document Type Definitions?
- 5.2. Internal DTDs
- 5.3. External DTDs
- 5.4. Building Your Own DTD
- 5.5. Using XML Tools to Create the DTD
- 5.6. DTD Validation
- 5.7. Summary
-
6. XML Schemas
- 6.1. The Issues with DTDs
- 6.2. Building the Root XML Schema Document
- 6.3. Declaring Elements
- 6.4. Putting XML Schema Document Together
- 6.5. Commenting XML Schemas
- 6.6. XML Schema Tools
- 6.7. Summary
- 7. RELAX NG
-
5. Document Type Definitions (DTDs)
-
IV. XML as Data
-
8. XSLT
- 8.1. What Is XSLT?
- 8.2. XSLT Syntax
- 8.3. Executing XSLT
- 8.4. Changes with XSLT 2.0
- 8.5. Generating Output with XSLT
- 8.6. Debugging XSLT
- 8.7. Summary
- 8.8. Resources
-
9. X Path
- 9.1. Major Features of XPath
-
9.2. Lessons from the Trenches
- 9.2.1. When A ! = B Is Different from not(A = B)
- 9.2.2. The Many Faces of a Document
- 9.2.3. Tuning Your XPath Expressions
- 9.2.4. Function Calls in Path Expressions
- 9.2.5. Using Comments and Nested Comments
- 9.2.6. Using Regular Expressions
- 9.2.7. The unordered() Function: Quite an Oddity
- 9.2.8. Union and Sequence Operators
- 9.2.9. //h1[1] Different Than (//h1)[1]
- 9.2.10. Reverse Axis—Evil at Times
- 9.2.11. Debugging with trace()
- 9.3. XPath in Java, .NET, and PHP
- 9.4. Tools for XPath
- 9.5. Summary
- 9.6. References
- 10. XQuery
- 11. XML in the Data Tier
-
8. XSLT
-
V. Programming XML
-
12. XML Document Object Model (DOM)
-
12.1. What Is DOM?
- 12.1.1. Why Client-Side XML Processing?
- 12.1.2. XML DOM Object Model
- 12.1.3. Using the Document Interface
- 12.1.4. Loading an XML Document
- 12.1.5. Using the Element Interface
- 12.1.6. Creating a New Element
- 12.1.7. Using the Node Interface
- 12.1.8. Using the NodeList Interface
- 12.1.9. Using the NamedNodeMap Interface
- 12.1.10. Using the Attr Interface
- 12.1.11. Creating Attributes
- 12.1.12. Using the CharacterData Interface
- 12.1.13. Using the Comment Interface
- 12.1.14. Using the Text Interface
- 12.1.15. Using the CDATASection Interface
- 12.1.16. Handling Errors in XML DOM
- 12.1.17. XML Transformation Using XSL
- 12.2. XML Validation Using XML DOM
- 12.3. Summary
-
12.1. What Is DOM?
-
13. Simple API for XML (SAX)
- 13.1. Introducing XML Parsing
- 13.2. SAX Architecture
-
13.3. SAX Packages and Classes
- 13.3.1. The SAXParser Class
- 13.3.2. The XMLReader Interface
- 13.3.3. Receiving SAX Events
- 13.3.4. Using the XMLReader Interface
-
13.3.5. DefaultHandler Class
- 13.3.5.1. The startDocument() and endDocument() Methods
- 13.3.5.2. The processingInstruction() Method
- 13.3.5.3. Namespace Callbacks
- 13.3.5.4. The startElement() and endElement() Methods
- 13.3.5.5. Element Data Callback
- 13.3.5.6. The ignorableWhitespace() Method
- 13.3.5.7. The skippedEntity() Method
- 13.3.5.8. The setDocumentLocator() Method
- 13.3.6. Handling Errors and Warnings
- 13.4. Searching in an XML File
- 13.5. Writing XML Contents Using SAX
- 13.6. XML Validation Using SAX
- 13.7. Advantages and Disadvantages of SAX
- 13.8. Summary
- 14. Ajax
- 15. XML and .NET
- 16. XML and Java
- 17. Dynamic Languages and XML
-
12. XML Document Object Model (DOM)
-
VI. XML Services
- 18. RSS and Atom
-
19. Web Services
- 19.1. Why Web Services?
- 19.2. The Composition of Web Services
- 19.3. Building Web Services with C#
- 19.4. Building Web Services with Java
- 19.5. Consuming Web Services with C#
- 19.6. Consuming Web Services with Java
- 19.7. Caching Web Services
- 19.8. Asynchronous Consumption of Web Services
- 19.9. Summary
-
20. SOAP and WSDL
- 20.1. SOAP Speak
- 20.2. The Basics of SOAP
- 20.3. Looking Closely at the SOAP Specification
- 20.4. Tracing SOAP Messages
- 20.5. Working with SOAP Headers
- 20.6. Defining Web Services Using WSDL
- 20.7. Summary
-
21. Advanced Web Services
- 21.1. Expanding on a Foundation
-
21.2. Web Services Framework — The Paper
- 21.2.1. Message Envelope and Controlled Extensibility
- 21.2.2. Binary Attachments
- 21.2.3. Message Exchange aka Routing
- 21.2.4. Message Correlation
- 21.2.5. Guaranteed Message Exchange
- 21.2.6. Digital Signature
- 21.2.7. Encryption
- 21.2.8. Transactions and Activities
- 21.2.9. Service Description
- 21.2.10. Process Flow Contract Description
- 21.2.11. Inspection
- 21.2.12. Discovery
- 21.3. WS-I.org
- 21.4. Extending XML Web Services
- 21.5. WS-* Specifications
- 21.6. Looking at Microsoft's Web Services Enhancements 3.0
- 21.7. Summary
- 22. REST
-
VII. Applying XML
- 23. XML Form Development
- 24. The Resource Description Framework (RDF)
- 25. XML in Office Development
- 26. XAML
Product information
- Title: Professional XML
- Author(s):
- Release date: April 2007
- Publisher(s): Wrox
- ISBN: 9780471777779
You might also like
book
Inside XML
The XML explosion hardly needs any introduction-it's everywhere and there just seems to be no end …
book
Special Edition Using XML, Second Edition
Special Edition Using XML, Second Edition gives developers a formal introduction to XML technology, starting with …
book
Sams Teach Yourself XML in 24 Hours
Sams Teach Yourself XML in 24 Hours teaches you the fundamental concepts of XML using practical, …
book
XML Development with Java™ 2
XML Development with Java 2 provides the information and techniques a Java developer will need to …