my dog learned polymorphism*
The moose likes XML and Related Technologies and the fly likes xml to htrml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xml to htrml" Watch "xml to htrml" New topic
Author

xml to htrml

Satya Pandre
Greenhorn

Joined: Jul 02, 2003
Posts: 1
Hello,
I need to convert one xml file to html file in a java servlet program taking xsl file as input for conversion.
1) What all that I need to install ?
2) What is the API that I need to use ?
3) Do I need to make changes to any environment variables ?
Satya
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by Satya Pandre:
Hello,
1) What all that I need to install ?
You need to install xslt processor like xalan,XT etc.,
2) What is the API that I need to use ?
Download the xalan package from http://xml.apache.org/xalan-j/index.html, it has an example to convert xml to html using xsl, on a servelt see here http://xml.apache.org/xalan-j/samples.html#servlet
3) Do I need to make changes to any environment variables ?
NO!..
Balaji


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml to htrml
 
Similar Threads
Xml File Creation......
kXML users ...
XML Creation
Convert cvs Text File Into XML using XML Mapping file.
Parsing BLOB datatype