XML Tree Dump
- document
- <?foo bar baaz ?>
- <book>
- "
 "
- <!-- This is a comment -->
- "
 "
- <part id="1" title="Part 1">
- "
 "
- <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">
- "
 "
- <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