Microsoft XML SDK 2.6 - XML Reference

setStartMode Method

Performs subsets of a larger XSLT transformation by selecting the XSLT mode to start with. This makes it possible to minimize the amount of XSLT processing.

The default value of the start mode is the empty string, "".

objXSLProcessor.setStartMode(mode, namespace)

Parameters

mode
The desired mode as a string. It must be the base name part of the qualified name (For more information, see http://www.w3.org/TR/WD-xslt#qname and http://www.w3.org/TR/REC-xml-names/).
namespace (optional)
The full namespace URI to fully qualify the start mode name.

Remarks

Using setStartMode is essentially the same as your XSLT style sheet starting with the following rule:

<xsl:template match="/">
   <xsl:apply-templates select="*" mode="{mode}"/>
</xsl:template>

See Also

Applies To: XSLProcessor Object