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

Chapter 13. Creating XML Documents > Element Content Models

Element Content Models

An element content model consists of a description, using a very simple grammar, of the elements that may appear in the content of the current element, in what order they may or must appear, and how often they may or must appear. They are used to describe the structure of your XML documents, for instance, declaring that chapter elements must appear within section elements. Other examples of situations these models describe will be given in the following sections.

Element Sequences

The simplest form of element content model is a sequence consisting of a list of the possible elements, enclosed in parentheses and separated by commas:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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