XML Tree Dump
- document
- <?foo bar baaz ?>
- <book 'http://www.w3.org/2000/xmlns/':xi="http://www.w3.org/2001/XInclude">
- "
 "
- <!-- This is a comment -->
- "
 "
- <part id="1" title="Part 1" 'http://www.w3.org/XML/1998/namespace':base="part1.xml">
- "
 "
- <chapter id="2" title="Chapter 1.1">
- "
 "
- <para id="3">
- "
 "
- <para id="4">
- "
 "
- "
 "
- <chapter id="5" title="Chapter 1.2">
- "
 "
- <para id="6">
- "
 "
- <para id="7">
- "
 "
- "
 "
- <chapter id="8" title="Chapter 1.3">
- "
 "
- <para id="9">
- "
 "
- <para id="10">
- "
 "
- "
"
- "
 "
- <part id="11" title="Part 2" 'http://www.w3.org/XML/1998/namespace':base="part2.xml">
- "
 "
- <chapter id="12" title="Chapter 2.1">
- "
 "
- <para id="13">
- "
 "
- <para id="14">
- "
 "
- <para id="15">
- "
 "
- "
 "
- <chapter id="16" title="Chapter 2.2">
- "
 "
- <para id="17">
- "
 "
- <para id="18">
- "
 "
- <para id="19">
- "
 "
- "
"
- "
"
Legend:
- <foo bar="123">: Element node
- "Blah blah": Text node
- <?foo bar ?>: Processing instruction node
- <!-- Blah blah -->: Comment node
- foo: Other node