Example 2: Delete multiple targets
This demonstrates a mutlivalued xpath target. The xpath /a/b is
ambiguous and produces two <b> elements. The delete operation is
applied to each of them!
<idoc> <seq> <instr> <type>stm</type> <operand>doc.xml</operand> <operator> <stm:group xmlns:stm="http://1060.org/stm"> <stm:delete xpath="/a/b" /> </stm:group> </operator> <target>this:response</target> </instr> </seq> </idoc>
Try it
 |