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

Re: Java XSLT transformer

Subject: Re: Java XSLT transformer
From: "Mohsen Saboorian" <mohsens@xxxxxxxxx>
Date: Sat, 15 Jul 2006 09:58:10 +0330
transformer en java
I set the property to
But don't know why when both classes are accessible in classpath,
Xaxon is used. Is it because of the order of class loading?

On 7/15/06, Michael Kay <mike@xxxxxxxxxxxx> wrote:
If Saxon is on your classpath then unless you do anything special,
TransformerFactory.newInstance() will give you Saxon. If you want Xalan,
either take Saxon off the classpath, or set the system property (I'm not
sure to what).

Michael Kay

> -----Original Message----- > From: Mohsen Saboorian [mailto:mohsens@xxxxxxxxx] > Sent: 15 July 2006 07:06 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Java XSLT transformer > > Hi, > I'm trying to transform an XML with a given XSTL using JRE > default transformer (not sure, but I think it should be Xerces: > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl). > I have saxon 8.0 in my classpath, and when I transform to > html, <xsl:value-of select = "system-property('xsl:vendor')" > /> prints out "SAXON 8.7.1 from Saxonica" ! > > It is notable that > System.getProperty("javax.xml.transform.TransformerFactory") > returns null.

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.