The Basics of XML

Whereas HTML includes predefined formatting tags such as the <B> tag, which bolds data, XML is composed of custom tags that define data. Using XML, you create your own set of tags. These tags focus on defining the data.

You should be aware of several terms when working with XML:

  • XML document— Any document that follows XML syntax rules.

  • Element— Unit of an XML document enclosed in a pair of tags: <tag>element</tag>.

  • Attribute— A name="value" pair that follows the first tag name of an element: <tag attributename='attributevalue'>...</tag>.

  • XML header— Optional component of an XML document that specifies the encoding method: <?xml version=1.0" encoding="UTF-8" ?>.

  • Well-formed— An XML document that a parsing tool such as the MSXML ...

Get Alison Balter's Mastering Access 2002 Enterprise Development 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.