tree-view.xsl output

root
  |
  |___element stuff
        |  \___namespace bad = urn:ewwww
        |  \___namespace xml = http://www.w3.org/XML/1998/namespace
        |
        |___text \n   
        |
        |___element {http://skew.org/junk}junk
        |     |  \___namespace #default = http://skew.org/junk
        |     |  \___namespace bad = urn:ewwww
        |     |  \___namespace xml = http://www.w3.org/XML/1998/namespace
        |     |
        |     |___text \n     
        |     |
        |     |___element {http://skew.org/junk}greeting
        |     |     |  \___attribute {http://www.w3.org/XML/1998/namespace}lang (QName xml:lang) = en
        |     |     |  \___namespace #default = http://skew.org/junk
        |     |     |  \___namespace bad = urn:ewwww
        |     |     |  \___namespace xml = http://www.w3.org/XML/1998/namespace
        |     |     |
        |     |     |___text hello world!
        |     |
        |     |___text \n     
        |     |
        |     |___element {urn:ewwww}poetry (QName bad:poetry)
        |     |     |  \___namespace #default = http://skew.org/junk
        |     |     |  \___namespace bad = urn:ewwww
        |     |     |  \___namespace xml = http://www.w3.org/XML/1998/namespace
        |     |     |
        |     |     |___text \n         i  like\n         xml\n         in the morning\n     
        |     |
        |     |___text \n     
        |     |
        |     |___element {http://skew.org/junk}tab
        |     |     |  \___namespace #default = http://skew.org/junk
        |     |     |  \___namespace bad = urn:ewwww
        |     |     |  \___namespace xml = http://www.w3.org/XML/1998/namespace
        |     |     |
        |     |     |___text \t
        |     |
        |     |___text \n   
        |
        |___text \n