Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to configure saxon (xslt 2.0) instead of xalan (1.0) in jvm?

843834Jul 28 2010 — edited Jul 28 2010
Hi Folks,
How can i configure (jvn) Jdk1.6 to use Saxon processor? By default my jvm uses xalan (xslt 1.0) processor, but i want to change it to saxon. I suppose i also need to set the facotory name property for xslt processor to be used as saxon, so that in my implementation of "javax.xml.transform.TransformerFactory" the instance generated is of saxon.

I'm running a jbossESB application under Jboss AS 4.2.3, i have asked the above question at jboss forum as well, as i am not sure if there are some configuration changes require at the Jboss AS end or not, but so far i havent got any reply.

In nutshell, how can i tell the jvm to use saxon (xslt 2.0) processor instead of xalan (default xslt 1.0) to transform my xslt scripts?
TransformerFactory factory = TransformerFactory.newInstance();
currently the above instance returned is of xalan processor, but i want saxon.

can someone please help?

thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2010
Added on Jul 28 2010
1 comment
972 views