JavaScript: The Definitive Guide

25.220. Node.transformNode( ): transform a node to a string using XSLT

IE 6

25.220.1. Synopsis

String transformNode(Document xslt)

25.220.1.1. Arguments

xslt

An XSLT stylesheet, parsed to a Document object.

25.220.1.2. Returns

The text produced by applying the specified stylesheet to this node and its descendants.

25.220.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 an unparsed string. The TRansformNode( ) 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.220.3. See Also

XSLTProcessor, Node.transformNodeToObject( ); Chapter 21

Категории