Name

var — A single script variable

Synopsis

Content Model
var ::=
Attributes
NameType
nameCDATA (required)
valueCDATA (required)

Description

A var element stores a single script variable.

Script packets may contain variables representing other packets in the same packet tree, allowing easy access to these other packets from within a script.

Parents

The following elements contain var: packet (script).

Children

Element var has no children.

Attributes

name

The variable name. Variable names are case sensitive.

value

The value of this variable. If the value is a packet, this attribute should store the corresponding packet label (note that packet labels are case sensitive).