how to get CDATA in xml file using tinyxml library. If possible give a 2-3 line code snippet?
views:
163answers:
1
A:
TinyXML sees CDATA as text:
http://www.grinninglizard.com/tinyxmldocs/classTiXmlText.html
It should be a TxXmlText node where the CDATA() method returns true.
Minor point of caution: there isn't a test case for this the TinyXML test suite (xmltest.cpp).
grinliz
2010-10-05 23:39:59