String Indent Example

Demonstrates indentation using the String Indent viper.

Smartsite SXML CopyCode image Copy Code
<se:for from="0" to="5">
{string.indent(this.index(), this.index())}
</se:for>
Example Result CopyCode image Copy Code
0

    1

        2

            3

                4

                    5
SXML