None of the method signatures in this class should contain classes specific to a particular XSLT engine, e.g. Xalan, or XML parser, e.g. Xerces.
The constructor for XSLT takes an instance of whatever class is requesting the transformation. XSLT uses this instance to locate resources relative to the classpath.
Typical usage:
XSLT xslt = new XSLT(this); xslt.setXML("myXMLDoc.xml"); xslt.setSSL("myChannel.ssl", "aTitle", runtimeData.getBrowserInfo()); xslt.setTarget(out); xslt.setStylesheetParameter("param1Name", "param1Value"); xslt.setStylesheetParameter("param2Name", "param2Value"); xslt.transform();
|
|