wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes transform XML file (via XSLT) in a JAVA app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "transform XML file (via XSLT) in a JAVA app" Watch "transform XML file (via XSLT) in a JAVA app" New topic
Author

transform XML file (via XSLT) in a JAVA app

oLi Bou
Greenhorn

Joined: Jul 03, 2002
Posts: 23
hi,
i'd like to start the process of transforming an XML file (by applying an XSLT Stylesheet) inside my JAVA application ... I heard about Xalan .. is it the best way ?
thx


--learn every day--
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

If you are using JDK 1.4.x then you have the XML/XLST parser needed.
BUT if you download 'Java XML Pack - Summer 02 Release' from this link:
http://java.sun.com/xml/downloads/javaxmlpack.html
then you will also get the 'Java API for XML Processing (JAXP) v1.2' witch contain transformation samples.
/Rene
[ July 15, 2002: Message edited by: Rene Larsen ]

Regards, Rene Larsen
Dropbox Invite
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: transform XML file (via XSLT) in a JAVA app