XML Script logo
Deletion and re-creation of attributes
Code
<_data >
<obj myattr="This is an attribute." />
</_data>
<_delete item="\obj.myattr" />
There is now no attribute called "myattr": # \obj.myattr #
# \obj.myattr := "Here is a new attribute." #
There is now a new attribute called "myattr":
# \obj.myattr #
Output

There is now no attribute called "myattr": 

There is now a new attribute called "myattr":
Here is a new attribute.
Ref

x.2207

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