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

XML Markup

XML has very simple rules for distinguishing between the content of a document and the XML markup elements used to describe it. Most of these rules are described in the following list:

  • The start of XML markup elements is identified by either the less than symbol ( <) or the ampersand (&) character.

  • Three other characters, the greater than symbol (>), the apostrophe or single quote ('), and the double quotation mark ("), are used by XML for markup.

  • To use these special characters as content within your document, you must use the corresponding general XML entity (shown in Table 12.1). XML entities are discussed in greater detail in Chapter 15, "XML Characters, Notations, and Entities."

  • Everything else not used to denote XML markup represents the content of the document.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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