element-available Function (Windows CE 5.0)

Send Feedback

Returns True only if the expanded-name is the name of an instruction.

booleanelement-available(string)

Parameters

  • string
    A string that is a QName.

Return Values

Returns True only if the expanded-name is the name of an instruction.

Remarks

The argument must evaluate to a string that is a QName. The QName is expanded into an expanded-name using the name space declarations in scope for the expression. This function returns True for all XSL Transformations (XSLT) elements supported in this release and False for each XSLT element not supported in this release. In addition, it returns True for all extension elements supported in this release, currently only msxsl:script. Outside of XSLT, it will always return False.

Example

The following function call returns True (provided the xsl prefix is mapped to the XSLT name space).

element-available("xsl:template")

Requirements

None.

See Also

XSLT Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.