Appendix A. The XML You Need for OpenDocument

The purpose of this appendix is to introduce you to XML. A knowledge of XML is essential if you wish to manipulate OpenDocument files directly, since XML is the basis of the OpenDocument format.

If you're already acquainted with XML, you don't need to read this appendix. If not, read on. The general overview of XML given in this appendix should be more than sufficient to enable you to work with OpenDocument documents. For further information about XML, the O'Reilly books Learning XML by Erik T. Ray and XML in a Nutshell by Elliotte Rusty Harold and W. Scott Means are invaluable guides, as is the weekly online magazine XML.com.

Note that this appendix makes frequent reference to the formal XML 1.0 specification, which can be used for further investigation of topics that fall outside the scope of this book. Readers are also directed to the “Annotated XML Specification,” written by Tim Bray and published online at http://XML.com/, which provides illuminating explanation of the XML 1.0 specification; and to “What is XML?” by Norm Walsh, also published on XML.com.

What is XML?

XML, the Extensible Markup Language, is an Internet-friendly format for data and documents, invented by the World Wide Web Consortium (W3C). The “Markup” denotes a way of expressing the structure of a document within the document itself. XML has its roots in a markup language called SGML (Standard Generalized Markup Language), which is used in publishing and shares ...

Get OASIS OpenDocument Essentials: Using OASIS OpenDocument XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.