This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: calling java functions from xslt


contdd. i have tried this using XALAN...
and yes..you have to give the complete name of the class
com.mypackage.HelloWorld
and as far as Xselerator is concerned you cant run it becoz it uses MSXML and MSXML doesnt support Java.
so if u are keen on running it from Xselerator then you may try the following
write a batch file with the XALAN XSL transformation script.
java org.apache.xalan.xslt.Process -IN %1 -XSL %2 -OUT %3..

where %1 is for the source XML file
%2 is for the XSL file
%3 for the output file

after you have done this batch file, save it in your hard disk, and open the xselerator. Go to the Menu : Options>Environment Options and select the transformation tab
There you have the option of transformation engine..
select the 'other' option from the choices, and then give the path of your batch file there.
now your Xselerator will use the XALAN as a transformation engine..and u will be able to run it.
HTH
Vasu


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]