XSLTProcessor extension type
An XSLTProcessor
applies an
XSLT stylesheet
transformation to an XML document to
produce a new XML document as output. It has methods to load the XSLT
stylesheet, to
manipulate <xsl:param>
parameter values, and to apply the
transformation to documents.
Constructors
- XSLTProcessor()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearParameters(
) → void -
The
clearParameters()
method of the XSLTProcessor interface removes all parameters (<xsl:param>
) and their values from the stylesheet imported in the processor. TheXSLTProcessor
will then use the default values specified in the XSLT stylesheet. -
getParameter(
String namespaceURI, String localName) → JSAny? -
The
getParameter()
method of the XSLTProcessor interface returns the value of a parameter (<xsl:param>
) from the stylesheet imported in the processor. -
importStylesheet(
Node style) → void -
The
importStylesheet()
method of the XSLTProcessor interface imports an XSLT stylesheet for the processor. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeParameter(
String namespaceURI, String localName) → void -
The
removeParameter()
method of the XSLTProcessor interface removes the parameter (<xsl:param>
) and its value from the stylesheet imported in the processor. -
reset(
) → void -
The
reset()
method of the XSLTProcessor interface removes all parameters (<xsl:param>
) and the XSLT stylesheet from the processor. TheXSLTProcessor
will then be in its original state when it was created. -
setParameter(
String namespaceURI, String localName, JSAny? value) → void -
The
setParameter()
method of the XSLTProcessor interface sets the value of a parameter (<xsl:param>
) in the stylesheet imported in the processor. -
toString(
) → String -
A string representation of this object.
inherited
-
transformToDocument(
Node source) → Document -
The
transformToDocument()
method of the XSLTProcessor interface transforms the provided Node source to a Document using the XSLT stylesheet associated withXSLTProcessor
. -
transformToFragment(
Node source, Document output) → DocumentFragment -
The
transformToFragment()
method of the XSLTProcessor interface transforms a provided Node source to a DocumentFragment using the XSLT stylesheet associated with theXSLTProcessor
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited