Smartsite SXML | Copy Code |
---|---|
<se:xmlprocessor resultformat="-{string.toupper(this.result())}-"> <se:parameters> <se:parameter name="xml"> <div> <span> -Hello World- </span> </div> </se:parameter> <se:parameter name="actions"> <se:collection> <se:member query="/div/span"> {this.setresult(string.trim(this.getvalue()))} </se:member> </se:collection> </se:parameter> </se:parameters> </se:xmlprocessor> |
Example Result | Copy Code |
---|---|
--HELLO WORLD-- |