Smartsite SXML CopyCode image Copy Code
<se:xmlprocessor>
    <se:parameters>
        <se:parameter name="xml">
            <form action="?" method="post">
                <label>Bla</label>
                <label for="testInput">Test: </label>
                <input id="testInput" name="test"/>
            </form>
        </se:parameter>
        <se:parameter name="actions">
            <se:collection>
                <se:member query="//form/label" type="singlenode">
                    {this.delete()}
                </se:member>
            </se:collection>
        </se:parameter>
    </se:parameters>
</se:xmlprocessor>
Example Result CopyCode image Copy Code
<form action="?" method="post">
    <label for="testInput">Test: </label>
    <input id="testInput" name="test"/>
</form>