# XSLT element-available() Function
* * Complete XSLT Functions Reference Object](#)
* * *
## Definition and Usage
The element-available() function returns a boolean value indicating whether the XSLT processor supports the specified element.
This function can only be used to test elements that are in the body of a template. These elements are:
* xsl:apply-imports
* xsl:apply-templates
* xsl:attributes
* xsl:call-template
* xsl:choose
* xsl:comment
* xsl:copy
* xsl:copy-of
* xsl:element
* xsl:fallback
* xsl:for-each
* xsl:if
* xsl:message
* xsl:number
* xsl:processing instruction
* xsl:text
* xsl:value-of
* xsl:variable
* * *
## Syntax
boolean element-available(string)
## Parameters
| Parameter | Description |
| :--- | :--- |
| string | Required. Specifies the element to test. |
### Example 1
xsl:comment is supported.
xsl:comment is not supported.
xsl:delete is supported.
xsl:delete is not supported.
(#), (#).
* * Complete XSLT Functions Reference Object](#)