Unset variable
XML
<unset var="var" key="(no key)"/>
<unset /> unsets a variable.
These three statements are semantically equivalent:
XML
<unset var="var[key]"/>
<unset var="var.key"/>
<unset var="var" key="key"/>
Attention:
The TYPEOF operation will subsequently return 'undefined' for this variable.
Attributes
Examples
Unsetting variable
XML
<unset var="var"/>
Unsetting array item implicitly
XML
<unset var="var[key]"/>
Unsetting array item explicitly
XML
<unset var="var" key="key"/>