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

There is now no element called "obj": 

There is now a new element called "obj":
Here is some new content.
Ref

x.2206

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