Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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
Copy Code | |
---|---|
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
Copy Code | |
---|---|
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 readyStateis 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 setStartModeis essentially the same as your XSLT style sheet starting with the following rule.
Copy Code | |
---|---|
<xsl:template match="/"> <xsl:apply-templates select="*" mode="{mode}"/> </xsl:template> |