Section 25.342. XSLTProcessor.transformToDocument( ): transform a node or document to a new document


25.342. XSLTProcessor.transformToDocument( ): transform a node or document to a new document

25.342.1. Synopsis

 Document transformToDocument(Node sourceNode) 

25.342.1.1. Arguments

source

The document or node that is to be transformed.

25.342.1.2. Returns

A Document object that holds the result of the transformation.

25.342.2. Description

This method performs an XSLT transformation on the specified node, returning the result as a Document object. The transformation uses the XSLT stylesheet specified by importStylesheet( ) and the parameter values specified with setParameter( ).




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net