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

Choosing the XSL Enginer with JDK1.4

Subject: Choosing the XSL Enginer with JDK1.4
From: "Harihara Vinayakaram" <harihara.v@xxxxxxxxx>
Date: Mon, 21 Jul 2003 20:03:10 +0530
enginer
Hi,
	My application uses both the Oracle XML/XSL Processor  and the Xalan XSL Transform Engine.

	My problem is that the Oracle Processor is getting invoked instead of the Xalan processor.  How do I change it ?  

	I use JDK 1.4 on Solaris 9 .

Details :

	I have also implemented an extension function in java . The XSL invokes the extension function

	<?xml version="1.0"?>
    		<xsl:stylesheet version="1.0"
        			xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        			 xmlns:bin="xalan://DevicesWriter"
			 extension-element-prefixes="bin"
	>

	<xsl:when test="@Name='baseFile'">
    		<xsl:value-of select="bin:createBinFile(string($a), string($b), string($c),  string($d) )" />
                </xsl:when>

	I run the following command

		java -cp jarfile1 : jarfile2 :   jarfile3  org.apache.xalan.xslt.Process -IN abc.xml -XSL abc.xsl -OUT abc

	
	jarfile2 has a manifest which includes the oracle's xml parser in its classpath .


	
Problems :
	Irrespective of what I try to do the Oracle's Parser is getting invoked. I even tried setting the xerces and xalan in the classpath before

Any clues / pointers will help

Regards
Hari


	

 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.