XML DOM transformNodeToObject() method
Definition and usage
The transformNodeToObject() method uses XSLT to convert a node to a document.
Syntax:
nodeObject.transformNodeToObject(xslt)
parameter | description |
---|---|
query | An XSLT stylesheet, parsed as a Document object. |
return value
The result of the transformation, parsed as a Document object.
description
This specific IE method converts a Node and its descendants according to the rules specified by an XSLT stylesheet and returns the result as a Document objectreturn.
This transformNode() method exists only on XML document nodes, and HTML documents do not have this method. Note that since Document objectThey are their own nodes, and this method can be applied to the entire XML document.
See XSLTProcessor, to learn about similar features in other browsers.