XML technologies / XML / XML in a Nutshell / XML reference

(Excerpt from "XML in a Nutshell" by Elliotte Rusty Harold & W. Scott Means)

The following pages aim to provide a complete reference to the W3C Recommendation “Extensible Markup Language (XML)” for XML 1.0 and 1.1. We have taken great care to cover the entire official W3C document. However, if you are implementing an XML parser, an XML editor or another tool, you should always consult the current versions of these Recommendations, Extensible Markup Language (XML) 1.0 and Extensible Markup Language (XML) 1.1. This book refers to the third edition of XML 1.0 dated February 4, 2004, and the XML 1.1 Recommendation dated February 4, 2004, updated on April 15, 2004.

Note: The introduction of the “Extensible Markup Language (XML) 1.1” Recommendation in February 2004 presented the XML community with several challenges. The markup language described by 1.1 is not an exact superset of the language described by 1.0. Some documents well-formed under 1.0 are therefore not well-formed under 1.1. The main text of this reference follows the 1.0 Recommendation. Notes like this one appear wherever differences between XML 1.0 and XML 1.1 need explaining.
When deciding which XML version suits your application, remember that XML 1.0 is probably the right choice unless you need markup names containing characters unavailable in Unicode 2.0.

How to use this reference

These pages begin with complete examples of XML documents and DTDs. They then provide a detailed overview of the elements of the XML specification and a list of possible well-formedness and validity errors. XML syntax elements are listed in the order in which they would occur in a document. Each entry explains its permitted syntactic structure and the criteria for validity and well-formedness. Each section also describes the XML language construct and its syntax, with a usage example where appropriate.

   

  

 

 

 

back to top