You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Liviu Casapu <li...@savvion.com> on 2003/04/29 00:51:34 UTC

Re: XSLT and Java


Hi,

You may need to switch to Java 1.3 and up.
Have a look at javax.xml.transform package which is available as part of
the J2EE (v1.3 or v1.4). API documentation is also available. You will be
particularly interested in using Transformer and Template classes.


Regards,
Liviu


> Hi All,
> 
>      I am want to convert a given XML to another XML using XSL. I am
> using Java 1.2.
> 
>      Which ref API should I look at for using this in my application? I
> searched through org.apache.xalan.xslt in xalan.jar (version 2.0.5) for
> possible methods to be used for xml transformation using xsl. But it has
> only 1 command-line utility that receives an xml file and an xsl
> stylesheet and returns a transformed xml file.
> 
> I want to do the same thing in my application internally. I cannot use
> the command line interface. I need a class that I can instantiate from
> my code. Is there any other API for this?
> 
> 
> Thanks
> Sanyogita
> 
> 
>