JavaScript: The Definitive Guide

25.221. Node.transformNodeToObject( ): transform a node to a document using XSLT

IE 6

25.221.1. Synopsis

Document transformNodeToObject(Document xslt)

25.221.1.1. Arguments

xslt

An XSLT stylesheet, parsed to a Document object.

25.221.1.2. Returns

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

25.221.2. 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.

25.221.2.1. See Also

XSLTProcessor, Node.transformNode(); Chapter 21

Категории