Share via


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

Ee502377.collapse(en-US,WinEmbedded.60).gifScript 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.

Ee502377.collapse(en-US,WinEmbedded.60).gifScript Return Values

None.

Ee502377.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT setStartMode(
  BSTR mode,
  BSTR namespaceURI
);

Remarks

Ee502377.collapse(en-US,WinEmbedded.60).gifC/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.

Ee502377.collapse(en-US,WinEmbedded.60).gifC/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.

Ee502377.collapse(en-US,WinEmbedded.60).gifRequirements

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>

See Also

Reference

XML DOM Methods