XML Script logo
Using delete with 2 stage attribute interpolation
Code
<_data >
             <bantex thing="foo" />
             <bantex thing="bar" />
             <bantex thing="CORRECT!!" />
             <bantex thing="blort" />
</_data># \blort := "bantex{.thing == 'bar'}" #
<_delete item="#\blort#" />
Second element is now # bantex[2].thing #.
Output

Second element is now CORRECT!!.
Ref

x.2202

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited