tree-view.xsl output

root
  |
  |___element addressbook
        |
        |___text \n  
        |
        |___element contact
        |     |
        |     |___text \n    
        |     |
        |     |___element name
        |     |     |
        |     |     |___text David Heitmeyer
        |     |
        |     |___text \n    
        |     |
        |     |___element address
        |     |     |
        |     |     |___text 8 Story Street
        |     |
        |     |___text \n    
        |     |
        |     |___element city
        |     |     |
        |     |     |___text Cambridge
        |     |
        |     |___text \n    
        |     |
        |     |___element state
        |     |     |
        |     |     |___text Massachusetts
        |     |
        |     |___text \n    
        |     |
        |     |___element zip
        |     |     |
        |     |     |___text 02138
        |     |
        |     |___text \n    
        |     |
        |     |___element phone
        |     |     |  \___attribute type = office
        |     |     |
        |     |     |___text 617-384-6656
        |     |
        |     |___text \n    
        |     |
        |     |___element email
        |     |        \___attribute address = david_heitmeyer@harvard.edu
        |     |
        |     |___text \n  
        |
        |___text \n  
        |
        |___element contact
        |     |
        |     |___text \n    
        |     |
        |     |___element name
        |     |     |
        |     |     |___text Drew Gilpin Faust
        |     |
        |     |___text \n    
        |     |
        |     |___element address
        |     |     |
        |     |     |___text Massachusetts Hall
        |     |
        |     |___text \n    
        |     |
        |     |___element city
        |     |     |
        |     |     |___text Cambridge
        |     |
        |     |___text \n    
        |     |
        |     |___element state
        |     |     |
        |     |     |___text Massachusetts
        |     |
        |     |___text \n    
        |     |
        |     |___element zip
        |     |     |
        |     |     |___text 02138
        |     |
        |     |___text \n    
        |     |
        |     |___element email
        |     |        \___attribute address = president@harvard.edu
        |     |
        |     |___text \n  
        |
        |___text \n