Posted By:
Shane_Curcuru
Posted On:
Wednesday, January 23, 2002 11:54 AM
Sounds like you might want to start with a generic XSL tutorial. But some basics:
(using JAXP/TRaX, supported by some Saxon versions and Xalan-J 2.x)
transformer = factory.newTransformer(new StreamSource("stylesheet.xsl");
transformer.setParameter("param1", "new value");
transformer.transform(xmlSource, result);
////////// stylesheet.xsl
// blah blah blah
default value
// blah blah blah