[jdom-interest] XSLT question

Kielen, Agnes Agnes.Kielen at atosorigin.com
Fri Feb 6 00:19:27 PST 2004


Actually Xalan creares a DTM, a document tree optimized for XSLT-processing.


-----Original Message-----
From: Bradley S. Huffman [mailto:hip at cs.okstate.edu]
Sent: vrijdag 6 februari 2004 4:19
To: Robin Rosenberg
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] XSLT question 

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.

To control your jdom-interest membership:

More information about the jdom-interest mailing list