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

Chapter 37. Toward XML > Constructing the Document Body

Constructing the Document Body

An XML document consists of text, which usually consists of mingled markup and character data. The prolog contains markup only, but that isn't the interesting part, because you need data to go with your markup before it's anything other than empty boxes to put things in. The body of your document contains almost everything that counts from an application (and human) perspective, sprinkled liberally within your markup.

Character Data

A DTD can declare many types of data that might be used in your document, but the default data type is always CDATA, for ordinary character data. The coding sheet or manual tells you what sort of data can be entered into each attribute or element content field.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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