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.

Documentation XSLTProcessor by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new()

Throws:

null

DOMError

Methods

clearParameters():Void

Removes all set parameters from the XSLTProcessor. The XSLTProcessor will then use the defaults specified in the XSLT stylesheet.

getParameter(namespaceURI:String, localName:String):Dynamic

Throws:

null

DOMError

importStylesheet(style:Node):Void

Throws:

null

DOMError

removeParameter(namespaceURI:String, localName:String):Void

Throws:

null

DOMError

reset():Void

Removes all parameters and stylesheets from the XSLTProcessor.

setParameter(namespaceURI:String, localName:String, value:Dynamic):Void

Throws:

null

DOMError

transformToDocument(source:Node):HTMLDocument

Throws:

null

DOMError

transformToFragment(source:Node, output:HTMLDocument):DocumentFragment

Throws:

null

DOMError