org.apache.tools.ant.taskdefs
public interface XSLTLiaison
Since: Ant 1.1
See Also: XSLTProcess
Field Summary | |
---|---|
String | FILE_PROTOCOL_PREFIX
the file protocol prefix for systemid.
|
Method Summary | |
---|---|
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. |
Since: Ant 1.4
Parameters: name the parameter name. expression the parameter value as an expression string.
Throws: Exception thrown if any problems happens.
Since: Ant 1.3
Parameters: stylesheet the stylesheet to be used for transformation.
Throws: Exception thrown if any problems happens.
Since: Ant 1.4
Parameters: infile the input file, probably an XML one. :-) outfile the output file resulting from the transformation
Throws: Exception thrown if any problems happens.
Since: Ant 1.4
See Also: setStylesheet