Hello,
I was reading a C# explanation, with code, of reading an XML file and outputting it to a TreeView GUI in a form. Trying to translate it to C++ I haven't found a proper translation for a line in a recursive stop that says:
node.NodeType == XmlNodeType.Text || node.NodeType == XmlNodeType.CDATA
What is the proper VC++2005 version of this?
Thanks,
Barney
XML to TreeView
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

AlanRank #669 · 3.6K reputationPosted Mar 24, 2008, 11:32 AM EDT
Try:
node->NodeType == XmlNodeType::Text || node->NodeType == XmlNodeType::CDATA
Barney Sperlin3 reputationPosted Mar 24, 2008, 2:06 PM EDT
Thanks, that worked! I appreciate the direction,
Barney