Get the XMLDocument that owns this XMLNode.
| 680 | } |
| 681 | /// Get the XMLDocument that owns this XMLNode. |
| 682 | XMLDocument* GetDocument() { |
| 683 | TIXMLASSERT( _document ); |
| 684 | return _document; |
| 685 | } |
| 686 | |
| 687 | /// Safely cast to an Element, or null. |
| 688 | virtual XMLElement* ToElement() { |