Smartsite SXML CopyCode image Copy Code
<se:xmlprocessor>
    <se:parameters>
        <se:parameter name="resultformat">
            {xml.querynodevalue(this.result(), "/se:text/se:parameters/se:parameter[@name='value']")}
        </se:parameter>
        <se:parameter name="namespaces">
            <se:collection>
                <se:member prefix="se">http://smartsite.nl/namespaces/sxml/1.0</se:member>
            </se:collection>
        </se:parameter>
        <se:parameter name="xml">
            <![CDATA[
            <se:text />
            ]]>
        </se:parameter>
        <se:parameter name="actions">
            <se:collection>
                <se:member query="//*">
                    {this.appendchild('se:parameters')}
                </se:member>
                <se:member query="//se:parameters">
                    {this.appendchild('se:parameter')}
                </se:member>
                <se:member query="//se:parameter">
                    {this.setattribute(name, 'value')}
                    {this.setvalue('Hello world!')}
                </se:member>
            </se:collection>
        </se:parameter>
    </se:parameters>
</se:xmlprocessor>
Example Result CopyCode image Copy Code
Hello world!