void Cleanup() { this.name = null; if (this._attributes != null) this._attributes.Clear(); if (this._children != null) this._children.Clear(); this.text = null; }