XML DOM transformNodeToObject() Method

Node Object Reference Manual

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 there is no such method 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.

See

Node.transformNode()

Node Object Reference Manual