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 Document, or <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.