[jdom-interest] JDOM and XSL

Edoardo Comar edoardo at knowledgeview.co.uk
Fri Feb 9 02:18:14 PST 2001


Brett McLaughlin wrote :

> I actually agree - now I can see you turning the resultant, styled, XML
into
> JDOM, like so:
> XML -> XSLT -> XML -> JDOM
> to work with. Or, if the XML at the beginning is dynamic, you might have:
> JDOM -> XSLT -> XML -> JDOM

I've easily found examples of code for performing the first transformation,
but for the second, the JDOM FAQ suggest a streaming approach : if my source
or stylesheet or both are JDOM document, I'd have to use the outputter to
stream the JDOM docs back to XML.

Is then more efficient to have xalan work on DOM documents than on JDOM
documents ?

bye,
Edo




More information about the jdom-interest mailing list