JavaScript: The Definitive Guide

25.338. XSLTProcessor.importStylesheet( ): specify an XSLT stylesheet for transformations

25.338.1. Synopsis

void importStylesheet(Node stylesheet)

25.338.1.1. 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.

25.338.2. Description

importStyleSheet( ) specifies the XSLT stylesheet to be used by future calls to TRansformToDocument( ) and transformToFragment( ).

Категории