var:var:
The var URI address scheme
Home > Books > Solutions Developer Guide > URI Schemes > var:

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


The var: scheme is available only within a DPML program. The intent is to provide transient storage for temporary variables while a DPML program executes.

In the var: scheme the name of the variable immediately follows the scheme name. Variables are created when they are first referenced and disappear when the DPML program terminates. For example, this DPML instruction will copy the XML fragment

<name>Charles</name>

to a variable named var:name.

<instr>
  <type>copy</type>
  <operand>
    <name>Charles</name>
  </operand>
  <target>var:name</target>
</instr>
© 2003-2007, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.