DataTable Append Example

This example shows you how to append two datatables using Vipers.

Smartsite SXML CopyCode image Copy Code
<se:xmldatatable save="buffer1" resulttype="datatable">
    <se:row>
        <se:col>Hello</se:col>
    </se:row>
</se:xmldatatable>

<se:xmldatatable save="buffer2" resulttype="datatable">
    <se:row>
        <se:col>world!</se:col>
    </se:row>
</se:xmldatatable>

{datatable.append(buffer1, buffer2)}
<se:format
    inputdata="buffer1"
    rowformat="{this.field(1)}"
    rowdelimiter=" " />
Example Result CopyCode image Copy Code
Hello world!
SXML