<!-- Setting some static XML text --><arc:set attr="xml.text" value='<Items><foo>bar</foo></Items>' /><arc:call op="xmlOpen" in="xml" out="output" > <!-- Setting the xml handle on a new item that is passed into a second operation --> <arc:set attr="xml2.handle" value="[output.handle]" /> <arc:set attr="xml2.map:value1" value="/Items/foo" /> <arc:call op="xmlDOMGet" in="xml2" out="output2" > <!-- Here is where you can execute additional script for the operation that is using the handle --> </arc:call> <!-- Using the arc:finally keyword to execute the closing of the handle last --> <arc:finally> <!-- Calling xmlClose to close the handle created by xmlOpen --> <arc:call op="xmlClose" in="xml2" /> </arc:finally></arc:call>