XSLTProcessor class

Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.

An 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.

Available extensions
Annotations
  • @JS()
  • @staticInterop

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

Available on XSLTProcessor, provided by the PropsXSLTProcessor extension

getParameter(String namespaceURI, String localName) → dynamic

Available on XSLTProcessor, provided by the PropsXSLTProcessor extension

importStylesheet(Node style) → void

Available on XSLTProcessor, provided by the PropsXSLTProcessor extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeParameter(String namespaceURI, String localName) → void

Available on XSLTProcessor, provided by the PropsXSLTProcessor extension

reset() → void

Available on XSLTProcessor, provided by the PropsXSLTProcessor extension

setParameter(String namespaceURI, String localName, dynamic value) → void

Available on XSLTProcessor, provided by the PropsXSLTProcessor extension

toString() String
A string representation of this object.
inherited
transformToDocument(Node source) Document

Available on XSLTProcessor, provided by the PropsXSLTProcessor extension

transformToFragment(Node source, Document output) DocumentFragment

Available on XSLTProcessor, provided by the PropsXSLTProcessor extension

Operators

operator ==(Object other) bool
The equality operator.
inherited