Return the first child of the element type of the node. If there is not, returns null. The node can be passed as argument or as attribute.

1 dom.element.getFirstChildElement

<dom.element.getFirstChildElement name='name'>
    <node /> ?
</dom.element.getFirstChildElement>
Example

Get the first child of element type of the root node of the file.

Copy
<xsql-script name='dom_node_getFirstChildElement'>

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

        <!-- It is situated in the text node which contains the text hello -->
        <!-- Returns: <element>hello</element>                             -->
        <println>
            <dom.element.getFirstChildElement>
                <root/>
            </dom.element.getFirstChildElement>
        </println>

    </body>
</xsql-script>