setStartMode Method (Windows Embedded CE 6.0)
1/6/2010
Performs subsets of larger Extensible Stylesheet Language Transformations (XSLT) by selecting the XSLT mode with which to start. This minimizes the amount of XSLT processing.
The default value of the start mode is the empty string, "".
Script Syntax
objXSLProcessor.setStartMode(mode, namespaceURI);
Remarks
Script Parameters
- mode
The desired mode as a string. It must be the base name part of the qualified name. For more information, see the qualified names section of the XSL Transformations (XSLT) Version 1.0 and Namespaces in XML at the World Wide Web Consortium (W3C) Web site.
- namespaceURI
(optional) The full namespace Uniform Resource Identifier (URI) to fully qualify the start mode name.
Script Return Values
None.
C/C++ Syntax
HRESULT setStartMode(
BSTR mode,
BSTR namespaceURI
);
Remarks
C/C++ Parameters
- mode
[in] The desired mode as a string. It must be the base name part of the qualified name.
- namespaceURI
[in, optional] The full namespace URI to fully qualify the start mode name.
C/C++ Return Values
- E_FAIL
Value returned if readyState is READYSTATE_INTERACTIVE.
- E_INVALIDARG
Value returned if the mode base name contains a colon character or is an invalid name.
Requirements
Header | msxml2.h, msxml2.idl |
Library | uuid.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
General 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>