• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Creating XML Documents > Well-Formed XML Documents

Well-Formed XML Documents

Elements, attributes, and entities are the three primary building blocks for XML documents. Using only elements, you can create true XML documents. Using all three objects, you can create quite complex XML documents; you could fulfill the needs of about 90% of the applications for which you would want to use XML.

For such documents to be properly usable—for an XML processor to parse these documents successfully—they must be well formed. According to the XML standard, a data object is not officially an XML document until it is well formed. You have already encountered most of the rules that an XML document must obey in order to be well formed, but to round out this discussion of XML documents, we'll review them all:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint