Indicates if the node that has been passed is an element or not (in this case it will be a text). The node can be passed as argument or as attribute.

1 dom.node.isElementNode

<dom.node.isElementNode name='name'>
    <node /> !
</dom.node.isElementNode>
Example

On different nodes they are obtained if it is an element.

Copy
<xsql-script name='dom_node_isElementNode'>

    <body>

        <set name='node'>
            <dom.parse><file name='data.xml' type='absolute' /></dom.parse>
        </set>

        <!-- Returns true, because it is in the root element <document> -->
        <println>
            <dom.node.isElementNode>
                <node />
            </dom.node.isElementNode>
        </println>

        <!-- Returns false, because it is in the node text (Line break) which exist after the root node -->
        <println>
            <dom.node.isElementNode>
                <dom.node.getFirstChild><node /></dom.node.getFirstChild>
            </dom.node.isElementNode>
        </println>

    </body>
</xsql-script>