Smartsite SXML CopyCode image Copy Code
{buffer.set(table1, datatable.createempty(Column1))}
{datatable.rows.add($table1, Crazy)}
{datatable.rows.add($table1, Fox)}

{buffer.set(table2, datatable.createempty(Column1))}
{datatable.rows.add($table2, Lazy)}
{datatable.rows.add($table2, Dog)}

{buffer.set(table3, datatable.join($table1, $table2))}
Table 1 has {datatable.rows.count($table1)} rows
Table 2 has {datatable.rows.count($table2)} rows
Table 3 has {datatable.rows.count($table3)} rows
Example Result CopyCode image Copy Code
Table 1 has 2 rows
Table 2 has 2 rows
Table 3 has 4 rows
SXML