XML DOM transformNode() Method
Definition and Usage
The transformNode() method uses XSLT to convert a node to a string.
Syntax:
nodeObject.transformNode(xslt)
parameter | description |
---|---|
query | An XSLT stylesheet, parsed as a Document Object. |
Return Value
The text generated by applying the specified style to the node and its descendants.
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 an unparsed string.
This transformNode() method only exists on XML document nodes and does not exist in HTML documents. Note that since Document ObjectThey are their own nodes, and this method can be applied to the entire XML document.
See XSLTProcessor, for similar features in other browsers.