ASCII XML Tree Viewer

Latest version: 1.0 (13 Feb 2001)

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[   ]ascii-treeview.xsl13-Feb-2001 11:23 5.9K 
[TXT]sample_output.txt13-Feb-2001 11:33 38K 

Description: ASCII XML Tree Viewer shows the node structure of an XML document in the form of plain text 'ASCII art'. There are different ways of representing what's in an XML document. This particular model is what is used by XSLT and is prescribed by Section 5 of the XPath recommendation.

ASCII XML Tree Viewer was written by Jeni Tennison and Mike J. Brown. (Thanks Jeni!)

Requirements: The ASCII XML Tree Viewer is an XSL document that must be applied to a source tree with an XSLT processor. I have tested it with Michael Kay's SAXON.

See also: My Pretty XML Tree Viewer, which produces an HTML view of the node tree and is generally nicer to look at; and Crane Softwrights' showtree.xsl, which produces an outline view.

You have other options, as well! If you want to see the source tree expressed in XML syntax via an XSLT transformation, and output as XML, you can do either of the following:

If you want to see the source tree expressed in XML syntax via an XSLT transformation, but output within in an HTML document, you can do any of the following: