XML Script logo
Non-persisting data disappears
Code
<_data ><sibilant /></_data>
<_template name="plinth" ><_eval persist="no" result="data" ><cavity penrose="# .plume #" /></_eval>In template: # .__element #</_template>
<_method call_by="reference" element="sibilant" template="plinth" />

# sibilant.plume := "one" #
<_process element="sibilant" />
Out of template: # sibilant.__element #

# sibilant.plume := "two" #
<_process element="sibilant" />
Out of template: # sibilant.__element #
Output

In template: <sibilant plume="one" ><cavity penrose="one" /></sibilant>
Out of template: <sibilant plume="one" />

In template: <sibilant plume="two" ><cavity penrose="two" /></sibilant>
Out of template: <sibilant plume="two" />
Ref

x.5003

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