Compartilhar via


setStartMode Method (Windows CE 5.0)

Send Feedback

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]

Script Syntax

objXSLProcessor.setStartMode(mode,namespaceURI);

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) Website.
  • namespaceURI
    (optional) The full namespace Uniform Resource Identifier (URI) to fully qualify the start mode name.

Script Return Values

None.

[C/C++]

C/C++ Syntax

HRESULT setStartMode(BSTRmode,BSTRnamespaceURI);

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

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>

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.