DeepDiscard (XmlNode subroutine)

From m204wiki
Revision as of 20:41, 23 August 2011 by JAL2 (talk | contribs)
Jump to navigation Jump to search

Do deep discard of an XmlNode object (XmlNode class)

[Introduced in Sirius Mods 8.0]


Although a generic Discard of an XmlNode is not allowed, you can use the DeepDiscard method to explicitly discard an XmlNode object.

Note: DeepDiscard explicitly discards the method object as well as the XmlDoc object with which it is associated.

Syntax

nod:DeepDiscard

Syntax terms

nod An XmlNode object, which may be Null.

Usage notes

  • Unlike an XmlNode, you can both Discard and DeepDiscard an XmlNodelist; the former discards only the nodelist; the latter discards both the nodelist and the container XmlDoc.

See also