% java ValueReporter hotcop.xml
Type Element: SONG "null"
Type Text: #text "
"
Type Element: TITLE "null"
Type Text: #text "Hot Cop"
Type Text: #text "
"
Type Element: PHOTO "null"
Type Text: #text "
"
Type Element: COMPOSER "null"
Type Text: #text "Jacques Morali"
Type Text: #text "
"
Type Element: COMPOSER "null"
Type Text: #text "Henri Belolo"
Type Text: #text "
"
Type Element: COMPOSER "null"
Type Text: #text "Victor Willis"
Type Text: #text "
"
Type Element: PRODUCER "null"
Type Text: #text "Jacques Morali"
Type Text: #text "
"
Type Comment: #comment " The publisher is actually Polygram but I needed
an example of a general entity reference. "
Type Text: #text "
"
Type Element: PUBLISHER "null"
Type Text: #text "
A & M Records
"
Type Text: #text "
"
Type Element: LENGTH "null"
Type Text: #text "6:20"
Type Text: #text "
"
Type Element: YEAR "null"
Type Text: #text "1978"
Type Text: #text "
"
Type Element: ARTIST "null"
Type Text: #text "Village People"
Type Text: #text "
"
Attributes are missing from this output. They are not nodes. They are properties of nodes.