RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLDocument.Active Property

Specifies whether the XML document has been parsed so that the DOM interfaces are available to examine or change its contents.

Pascal
property Active: Boolean;
C++
__property Boolean Active;

Before you can use IXMLDocument to examine or change the contents of an XML document, it must be active. Setting Active to true results in the parsing of the XML document specified by the FileName property or by the XML property. If both FileName and XML are empty strings, Setting Active to true causes IXMLDocument to represent an empty document. 

Active must be true before you can access the DOMDocument or DocumentElement properties. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!