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

RE: Fw: Converting to different format

Subject: RE: Fw: Converting to different format
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 24 Aug 2004 11:38:03 +0100
> Is there a way to use saxon8 instead of the pre-packaged 
> xalan that comes with Java 1.4?

Yes, you can use the same JAXP interfaces from your application. If the
Saxon JAR file is on your classpath, then it will be invoked in preference
to the pre-packaged Xalan.

For more control, if the Java system property
javax.xml.transform.TransformerFactory is set to
net.sf.saxon.TransformerFactoryImpl, the basic (open-source) version of
Saxon will be invoked (it must be on your classpath, of course), and if it
is set to com.saxonica.TransformerFactoryImpl, the schema-aware (commercial)
version of Saxon will be invoked.

You can set a Java system property from the command line:

my.package.class params

or by calling System.setProperty() from your application.

It's a good idea to include in your stylesheet:


so you know which processor you are running.

Michael Kay 

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.