public interface XSLTLiaison
XSLTProcess| Modifier and Type | Field and Description | 
|---|---|
| static String | FILE_PROTOCOL_PREFIXthe file protocol prefix for systemid. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addParam(String name,
        String expression)Add a parameter to be set during the XSL transformation. | 
| void | setStylesheet(File stylesheet)set the stylesheet to use for the transformation. | 
| void | transform(File infile,
         File outfile)Perform the transformation of a file into another. | 
static final String FILE_PROTOCOL_PREFIX
void addParam(String name, String expression) throws Exception
name - the parameter name.expression - the parameter value as an expression string.Exception - thrown if any problems happens.XSLTLiaison4.addParam(java.lang.String, java.lang.Object)void setStylesheet(File stylesheet) throws Exception
stylesheet - the stylesheet to be used for transformation.Exception - thrown if any problems happens.void transform(File infile, File outfile) throws Exception
infile - the input file, probably an XML one. :-)outfile - the output file resulting from the transformationException - thrown if any problems happens.setStylesheet(File)