Name
XSLTProcessor.importStylesheet( ): specify an XSLT stylesheet for transformations
Synopsis
void importStylesheet(Nodestylesheet
)
Arguments
-
stylesheet
The XSLT stylesheet to be used for transformations. This may be a Document of its own, or an
<xsl:stylesheet>
or<xsl:transform>
Element.
Description
importStyleSheet( )
specifies the XSLT stylesheet to be used by future calls to transformToDocument( )
and transformToFragment( )
.
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.