XML DOM transformToDocument() method
Definition and usage
The transformToDocument() method converts a node or document into a new document.
Syntax:
transformToDocument(source)
Parameter | Description |
---|---|
source | Document or node to be converted. |
Return value
Saved conversion result of a Document object.
Description
This method performs an XSLT transformation at a specified node, and the result is returned as a Document objectReturn.
Conversion for use importStylesheet() Specified XSLT stylesheet and setParameter() Specified parameter value.