public:
CXMLDocument();
object constructor
Result: returns a pointer to a CElement object that is the root of the documentpublic:
CElement *getRoot();
public:
void setRoot(CElement* root);
Sets the document root element
Name Description root a pointer to a CElement object that will be the root of this document
public:
bool validateRoot(const char* elemName, const char* xnamespace);
Result: returns true if the root element's generic identifier and namespace match the values specified in the function parameters.
Name Description elemName the generic identifier of the element to be found xnamespace the XML namespace
public:
virtual ~CXMLDocument();
object destructor
protected:CElement *m_root;
the document's root element
© 1999-2000, Thomas Bednarz, Jr. (Last Updated 7/16/2000)