Chapter 15.  The XML language Friendly Tutorial

Prev don't be afraid of buying books Next

Chapter 15. The XML language
Friendly Tutorial

  • Syntactic details

  • The prolog and the document instance

  • XML declaration

  • Elements and attributes

XML's central concepts are quite simple, and this chapter outlines the most important of them. Essentially, it gives you what you need to know to actually create XML documents. In subsequent chapters you will learn how to combine them, share text between them, format them, and validate them.

Before looking at actual XML markup (don't worry, we'll get there soon!) we should consider some syntactic constructs that will recur throughout our discussion of XML documents. By syntax we mean the combination of characters that make up an XML document. This is analogous to the distinction between sounds of words and the things that they mean. Essentially, we are talking about where you can put angle brackets, quote marks, ampersands, and other characters and where you cannot! Later we will talk about what they mean when you put them together.

After that, we will discuss the components that make up an XML document instance[1]. We will look at the distinction between the prolog (information XML parsers need to know about your document) and the instance (the representation of the actual document itself).

[1] Roughly, what the XML spec calls the "root element".

Amazon


XML in Office 2003. Information Sharing with Desktop XML
XML in Office 2003: Information Sharing with Desktop XML
ISBN: 013142193X
EAN: 2147483647
Year: 2003
Pages: 176

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net