XML Script logo
Overwriting attributes through renaming
Code
<_data >
<foo attr1="fred" attr2="barney" />
</_data>
Before rename: <_process element="foo" />
<_rename item="foo.attr2" newname="attr1" />
After rename: <_process element="foo" />
Output
Before rename: <foo attr1="fred" attr2="barney" />

After rename: <foo attr1="barney" />
Ref

x.5302

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