Returns the node as it is and with trim on the left of the content preserving the interior xml tags. The node can be passed as argument or as attribute.

1 dom.getChildNodesAsText

<dom.getChildNodesAsText name='name'>
    <node /> !

Get the content of two nodes of a document.

<xsql-script name='dom_node_getChildNodesAsText'>
        <set name='root'>
            <dom.parse><file name='c:\tmp\data.xml' type='absolute' /></dom.parse>

        <!-- It is situated in the text node which contains the text hello -->
        <set name='elem_text'>
            <dom.element.getFirstChildElement><root /></dom.element.getFirstChildElement>

        <!-- Return:

        <!-- Return:
        -->     <println>