December 1999
Intermediate to advanced
992 pages
22h 3m
English
Listing 15.1 is the same simple XML document that you saw in Chapter 12, "XML Processing Basics."
<?xml version="1.0"?> <!--demonstration of a parse tree--> <xdoc> <greeting>Hello <emph>parsed</emph>XML!!</greeting> <applause type="sustained"/> </xdoc> |
The document tree is shown in Figure 15.1.
To recap, the root of the tree is the document itself. This root has three child nodes:
A version declaration node, or a processing instruction node in DOM parlance.
A comment node.
An element node. This ...
Read now
Unlock full access