HTML and CSS Reference
In-Depth Information
prolog
root element
tag with link
to XSD
start and end
tag for child
element
child elements
containing product
information
document
instance
Figure 12-3
The document instance contains the main content or elements of the XML document
and provides a logical structure for the document. An instance is an occurrence of XML
elements. The XML document must include at least one instance, or occurrence, of an
element. The main element is the root element and may contain one or more subelements
or child elements . This parent-child relationship between elements gives XML its
hierarchical, treelike structure, as shown in Figure 12-4.
products
item
item
item_id
item_description
item_brand
item_id
item_description
item_brand
Figure 12-4
 
Search WWH ::




Custom Search