katja.radelicki@colruyt.be Posted January 15, 2009 Share Posted January 15, 2009 Dear members,what are the possible ways to show an XML file (withe the layout of a table accordance with the XSL) in a web application written in java? The xml file has to be transformed by a corresponding xsl file.(is it possible in jsp? in jdom? ...)Regards,Katja Link to comment Share on other sites More sharing options...
boen_robot Posted January 15, 2009 Share Posted January 15, 2009 There are numerous XSLT processors for JAVA. Heck, even XSLT 2.0 ones (so... you're in luck).Import such an XSLT processor into your JAVA application, and it should work. How you import JAVA archives is another question that varies from one JAVA environment into the other. I don't know what's the case with JSP.One processor I can reccomend in particular is SAXON. It's a JAVA XSLT 2.0 processor, but is also XSLT 1.0 compatible in case you don't want the full XSLT 2.0. See the SAXON JAVA API documentation for a description of the whole package. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.