[jdom-interest] Fastest way to XSLT?

Scott Smith ssmith at summitlogic.com
Mon May 7 17:19:07 PDT 2001

jdom-contrib (available via CVS only) has JDOMSource and JDOMResult classes
that work with JAXP compliant transformers.  I am using them and they work


> -----Original Message-----
> From: skeens [mailto:skeens at mobile.rogers.com]
> Sent: Monday, May 07, 2001 5:50 PM
> To: jdom-interest at jdom.org
> Subject: [jdom-interest] Fastest way to XSLT?
> Given an JDOM document what's the fastest way to apply an 
> XSLT transformation, what's the fastest way to apply an XSLT 
> transformation?  I want the result placed in a JDOM document 
> so I can do some more processing within my java code.
> Here's a quick description of what I do:
> 1) Read and precompile style sheet.
> 2) Convert JDOM document to a DOM document DOMOutputter and 
> pass that in via the XSLTInputSource.
> 3) Transform DOM document placing the result 
> (XSLTResultTarget) in a StringWriter.
> 4) Dump the contents of the StringWriter into a StringReader 
> and pass that to JDOM to parse it back into a JDOM document.
> Is there a faster way?
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
> uraddr at yourhost.com

More information about the jdom-interest mailing list