• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xml to htrml

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic