开发者

how to get CDATA in xml file using tinyxml library. If possible give a 2-3 line code snippet?

开发者 https://www.devze.com 2022-12-23 01:40 出处:网络
how to get CDATA in x开发者_运维百科ml file using tinyxml library. If possible give a 2-3 line code snippet?TinyXML sees CDATA as text:

how to get CDATA in x开发者_运维百科ml file using tinyxml library. If possible give a 2-3 line code snippet?


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消