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

How to detect XSLT extension usage at runtime?

Subject: How to detect XSLT extension usage at runtime?
From: Kathryn Benedicto <KBenedicto@xxxxxxxxx>
Date: Tue, 2 Dec 2003 12:48:21 -0800
kathryn benedicto
I am using Xalan-J.  Since its XSLTC implementation has good performance but
doesn't support extensions, I would like to use it for sheets that don't
have extensions, and at runtime, switch to Xalan's interpretive engine for
sheets that do have extensions.  Is there an accurate programmatic way to
examine a sheet at runtime to determine whether or not it is using
extensions, so I can switch between compiled/interpreted mode?  I understand
that Xalan has a SmartTransformerFactoryImpl class that can use either
compiled/interpreted mode, but my understanding from the docs is that it
doesn't actually do any runtime checking of the sheet.

Also, does anyone know what happens if one tries to use Xalan XSLTC to
process a sheet containing extensions?  Does it report an error, or does it
just silently do the transformation and you don't get the output you
expected?

Thanks,
Kathryn Benedicto

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.