![]() |
| Previous Top Next |
IXSLT |
Interface for the XSLT engines. Public interface that extends IAltovaXMLEngine and IExecutable.
Superinterface: IAltovaXMLEngine, IExecutable, IReleasable
Implementing classes: XSLT1 and XSLT2
| Note: | The XSLT 2.0 Engine can be used in its backward compatibility mode to process an XSLT 1.0 stylesheet. The output, however, could be different than that produced by the XSLT 1.0 Engine processing the same XSLT 1.0 stylesheet. |
Methods
The following methods are defined.
setXSLTFileName
public void setXSLTFileName(java.lang.String name)
Sets the file name for the XSLT data.
Parameters:
name: an absolute URL giving the base location of the XSLT data file.
setXSLTFromText
public void setXSLTFromText(java.lang.String text)
Sets text value for the XSLT data.
Parameters:
text: a string containing serialized XSLT data.
addExternalParameter
public void addExternalParameter(java.lang.String name,
java.lang.String val)
Adds the name and value of an external parameter.
Parameters:
name: a string containing a valid QName as the parameter name.
val: a string containing the value of the parameter; the value will be evaluated as an XPath expression.
clearExternalParameterList
public void clearExternalParameterList()
Clears the list of external parameters.
setXSLTStackSize
public void addExternalParameter(long nVal)
The stack size is the maximum depth of executed instructions. If the stack size is exceeded during a transformation, an error is reported.
Parameters:
nVal: numeric value for new stack size. Must be greater tha 100. The initial value 1000.
|