CMarkup Load Method
bool CMarkup::Load( MCD_CSTR szFileName );
Call Load to read the document from a file. For example:
CMarkup xml; bool bSuccess = xml.Load( "C:\\Temp\\hello.xml" );
It returns true if the file is successfully loaded and determined to be well-formed as explained in the SetDoc method. If the file is not accessible or empty then the CMarkup object is empty. If the read is successful, the CMarkup object contains the content of the file whether or not it is well-formed.
If Load returns false, the error string can be retrieved with GetError. See also When CMarkup Load Returns false and ReadTextFile.
After Load, you can call GetDoc to get the loaded document content as a string.
