wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes How to run Xalan command Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to run Xalan command" Watch "How to run Xalan command" New topic
Author

How to run Xalan command

Santh Narayanan
Greenhorn

Joined: Jul 01, 2002
Posts: 18
How can I run this following command in java and not from command-line.

java org.apache.xalan.xslt.Process -in Index.xml
-xsl Xform2.xsl -out Index2.html

Thanks,
Santh
Arun Prasath
Ranch Hand

Joined: Sep 17, 2003
Posts: 192
If you want to transform an XML with XSL, then look for javax.xml.transform.Transformer class. The method transform() would help you.


SCJP 1.4, SCDJWS , SCJA<br />I can do ALL things through CHRIST who strengthens me.
 
wood burning stoves
 
subject: How to run Xalan command
 
Similar Threads
DOS
run Dos commands in java app
How do I pretty print xml?
About Dos Command
Stored procedure cannot be imported from java...?