Name
Node.transformNode( ): transform a node to a string using XSLT â IE 6
Synopsis
String transformNode(Documentxslt
)
Arguments
-
xslt
An XSLT stylesheet, parsed to a Document object.
Returns
The text produced by applying the specified stylesheet to this node and its descendants.
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
.
See Also
XSLTProcessor
, Node.transformNodeToObject( )
; 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.