Practical Usage


Transformation performance is one of the major areas when you’re using XSLT. You should try to use XSLTC whenever possible because the performance is so good. As you’ve seen, though, in some areas XSLTC doesn’t have as much functionality as the interpretive mode. Once you’ve set out to use XSLTC, you can still improve on things by trying to cache translets so they can be shared throughout your application.

The TrAX API provides a URIResolver interface and a setURIResolver method on Transformer. You can use this facility to improve the performance of your applications by mapping remote resources to local copies of those resources whenever possible. You could also build a cache for those resources using URIResolver.




Professional XML Development with Apache Tools. Xerces, Xalan, FOP, Cocoon, Axis, Xindice
Professional XML Development with Apache Tools: Xerces, Xalan, FOP, Cocoon, Axis, Xindice (Wrox Professional Guides)
ISBN: 0764543555
EAN: 2147483647
Year: 2003
Pages: 95

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net