I've got two files, an XML and XSL file. The XML file contains my data and the XSL file contains the layout of the HTML. How do I transform these files to produce the HTML (as specified in my XSL). I did these in MS environment using .asp so I'll like to know how to do the same in Java either using .jsp or servlet or anything.


For converting the XML to HTML using XSL, you can make use of the Xalan XSLT engine.