Summary

[Previous] [Next]

Well-formed XML documents can be created by using elements, attributes, and comments. These components define content within the document. Using these definitions, applications can be created that will manipulate the content.

The requirements for well-formed documents that have been addressed in this chapter include having a single root element, having properly nested elements, having no duplicate attribute names in an element, and enclosing all attribute values in single and double quotation marks. Using XML editors to create XML documents will allow you to focus on defining the structure of your document, the first step in building a well-formed XML document.

To make a class of documents with the same format as the one we created in this chapter, you will want to create a DTD to validate the entire class of documents. In the next chapter, you will learn how to create DTDs, and you will create one specifically for this document.



Developing XML Solutions
Developing XML Solutions (DV-MPS General)
ISBN: 0735607966
EAN: 2147483647
Year: 2000
Pages: 115
Authors: Jake Sturm

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