Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XML Developer's Guide

Author XML Documents

What is an XML document?

A basic XML document is simply an XML element that can, but might not, include nested XML elements.

For example, the XML <books> element is a valid XML document:

<books>
  <book isbn="0345374827">
    <title>Maeve Ascendant</title>
    <author>Eva Corets</author>
  </book>
</books>

Authoring guidelines

There are some things to remember when constructing a basic XML document.

Try it!

In the following text box, create an XML document that contains both <element> and <attribute> nodes. Click the Well-formed? button to see whether your XML document conforms to the XML specification.