|
I used a _di_iXMLDocument, defined as follows:
_di_iXMLDocument xmlDoc;
xmlDoc = LoadXMLData (...); // ... represents the strings that make up XML.
xmlDoc parses XML, etc., but it is really impossible to set a value for its Options.
E.g:
After xmlDoc-> Options << AttrNull ;, when encountering a non-existent Attribute read in the node, an empty Variant is returned instead of an empty string. Another example:
After xmlDoc-> Options << AutoIndent ;, there is still no automatic indentation or adding placeholders between tags. Observe the value of xmlDoc-> Options, which is '\0' anyway.
Of course, I also tried to assign xmlDoc-> Active = false; to Options afterwards, but still not work.
What's going on, everyone? How can I set the Options value of _di_iXMLDocument? Thank you. |
|