Spice Command Remove Example

Demonstrates the removal of commands previously added using the querystring. Querystring value used: hid=img;r=10;tint=blue;w=400

Smartsite SXML CopyCode image Copy Code
{spice.command.remove('img.rotate.degrees')}
{spice.command.remove(img, w)}

<se:format inputdata="{spice.command.getall()}" whitespace="simpleformat">
    <se:rowformat>
        <se:colformat> <td>{this.field()}</td>{char.crlf()}</se:colformat>
        <se:rowresult><tr>{char.crlf()}{this.rowresult()}</tr>{char.crlf()}</se:rowresult>
    </se:rowformat>
    <se:resultformat>
        <table>{char.crlf()}{this.result()}</table>
    </se:resultformat>
</se:format>
Example Result CopyCode image Copy Code
<table>
<tr>
 <td>img</td>
 <td>duotone</td>
 <td>tint</td>
 <td>blue</td>
</tr>
</table>