You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Majirus Fansi <ma...@yahoo.fr> on 2004/11/01 12:42:16 UTC

Re: integration of xalan

Hi all,
I thank all of you for yours interventions. Programmatically, i Know where to go now with xalan-J.
regards,
Majirus
Yash Talwar <yt...@ca.ibm.com> wrote:




Hi Majirus,
It is your call on how you want to use xalan in your java program.
When you used xalan from command line, you probably used
org.apache.xalan.xslt.Process class and provided the arguments for input
document and stylesheet atleast.
You can invoke Process class from your java program by passing the same
arguments that you passed in command line.

If you decide ot invoke Process class from your java code, then you xalan
will be in charge of parsing (via xerces); however, xercesImpl.jar and
xml-apis.jar files are still required in classpath as dependency jar files.
(of course, you also need xalan.jar file).

However, if in your java code, you use xerces to parse the document first,
you will have a handle to document in memory tree and you will be able to
make any modifications programmatically.


Yash Talwar
XSLT Development / Xalan
IBM Toronto Lab
EMail: ytalwar@ca.ibm.com
Phone #: 905-413-5920



Majirus Fansi 
oo.fr> To
xalan-dev@xml.apache.org 
10/29/2004 12:30 cc
PM 
Subject
integration of xalan 
Please respond to 
xalan-dev 








Hi all,
I used well xalan in command line for transforming XML document.
Now, i want to call xalan from a java program.
Should anyone know why i can include the core of xalan within my
applycation? so that xalan is in charge of parsing(via xerces) and
transforming xml document.
I don't see an developer guide from xalan web site.
I thank all of you in advance.
Majirus


Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés
pour dialoguer instantanément avec vos amis. Téléchargez GRATUITEMENT ici !




---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


		
---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !