Hello.
I was using the code below to process a DOM Document with an XSL to generate an HTML flow.
But with the class org.apache.trax.Processor.
Since this class no longer exists in xalan.jar, i would like to know the last version of xalan where this package was and i also would like to know how to make the same thing (processing DOM with XSL) with xalan.jar 2.2 D6.
I suppose I should use jaxax.transform but how ?
Thanks for all.
Bye.
Jean-Guillaume.
try
{
Document doc = new Document(element);
org.w3c.dom.Document docDom = new org.jdom.output.DOMOutputter().output(doc);
Processor processor = Processor.newInstance("xslt");
Templates templates = processor.process(new InputSource("style.xsl"));
{
Document doc = new Document(element);
org.w3c.dom.Document docDom = new org.jdom.output.DOMOutputter().output(doc);
Processor processor = Processor.newInstance("xslt");
Templates templates = processor.process(new InputSource("style.xsl"));
Transformer transformer = templates.newTransformer();
transformer.transformNode(docDom,new Result(out));
}
transformer.transformNode(docDom,new Result(out));
}
