XML DOM importStylesheet() Method

Definition and Usage

The importStylesheet() method specifies an XSLT stylesheet for transformation.

Syntax:

importStylesheet(stylesheet)
Parameter Description
stylesheet

The XSLT Stylesheet to be used for transformation.

It can be a Document, or an <xsl:stylesheet> or <xsl:transform> element.

Description

importStylesheet() specifies the XSLT stylesheet to be called in the future transformToDocument() and transformToFragment() The XSLT Stylesheet to be used.