Name

Node.transformNodeToObject( ): transform a node to a document using XSLT — IE 6

Synopsis

Document transformNodeToObject(Documentxslt)

Arguments

xslt

An XSLT stylesheet, parsed to a Document object.

Returns

The result of the transformation, parsed to a Document object.

Description

This IE-specific method transforms a Node and its descendants according to the rules specified in an XSLT stylesheet and returns the result as a Document object. The transformNodeToObject( ) method exists only on the nodes of XML documents, not HTML documents. Note that since Document objects are themselves nodes, this method can be applied to entire XML documents.

For similar functionality in other browsers, see XSLTProcessor.

See Also

XSLTProcessor, Node.transformNode(); Chapter 21

Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.