[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Optimizing transform in java

Subject: Optimizing transform in java
From: Daniel Fisher <daniel.fisher@xxxxxx>
Date: Wed, 23 Jan 2002 16:16:36 -0500
transform in java
I've got a few questions about doing XSL transformations in Java.
I have an application which stores a JDOM object in memory and transforms the object to HTML for viewing.
I'm currently using the Xalan transformer (org.apache.xalan.processor.TransformerFactoryImpl) for the transformation.
Is this the best transformer for a JDOM object?
It doesn't seem like it would be since it extends javax.xml.transform.sax.SAXTransformerFactory,
which is a SAX transformer.

My second question is about XSL stylesheets.
When I do a transformation I am always showing a small section of the XML document.
When the XML document gets large you still see the same data, but the transform takes longer.
Is there any way to speed up a transform by passing a XPath parameter to the stylesheet?
Currently I just select certain nodes in my apply-templates tag.

Daniel Fisher

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.