XSLTProcessor

open class XSLTProcessor(source)

An XSLTProcessor applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output.

MDN Reference

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

The clearParameters() method of the XSLTProcessor interface removes all parameters (<xsl:param>) and their values from the stylesheet imported in the processor.

Link copied to clipboard
fun getParameter(namespaceURI: String?, localName: String): JsAny

The getParameter() method of the XSLTProcessor interface returns the value of a parameter (<xsl:param>) from the stylesheet imported in the processor.

Link copied to clipboard

The importStylesheet() method of the XSLTProcessor interface imports an XSLT stylesheet for the processor.

Link copied to clipboard
fun removeParameter(namespaceURI: String?, localName: String)

The removeParameter() method of the XSLTProcessor interface removes the parameter (<xsl:param>) and its value from the stylesheet imported in the processor.

Link copied to clipboard
fun reset()

The reset() method of the XSLTProcessor interface removes all parameters (<xsl:param>) and the XSLT stylesheet from the processor.

Link copied to clipboard
fun setParameter(namespaceURI: String?, localName: String, value: JsAny?)

The setParameter() method of the XSLTProcessor interface sets the value of a parameter (<xsl:param>) in the stylesheet imported in the processor.

Link copied to clipboard

The transformToDocument() method of the XSLTProcessor interface transforms the provided Node source to a Document using the XSLT stylesheet associated with XSLTProcessor.

Link copied to clipboard

The transformToFragment() method of the XSLTProcessor interface transforms a provided Node source to a DocumentFragment using the XSLT stylesheet associated with the XSLTProcessor.