[jdom-interest] XSLT question

Bradley S. Huffman hip at cs.okstate.edu
Thu Feb 5 19:19:00 PST 2004


Robin Rosenberg writes:

> Does the XSLT/XPath part of JDOM copy the DOM treee before processing or does
>  it operate on the JDOM tree directly? 
> 
> The background is that I have a JDOM tree with speciallized nodes so I can op
> erate on very large documents. It is a gawdamn 
> ugly hack in its current form. However I want to do some transformations on t
> he tree and XSLT could be one of the options instead 
> of handcoding the transformations in Java as I've done so far.

JDOM runs the tree through SAXOutputter.  Xalan may or may not build a DOM
tree out of the SAX events, but I'm not sure.

Brad



More information about the jdom-interest mailing list