且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在iPad中解析XML文件时处理CDATA标记

更新时间:2023-12-05 22:28:16

如果你需要从CDATA中提取字符串,你可以在foundCDATA中使用这个块:

If you need to extract the string from CDATA, you could use this block in foundCDATA:

NSMutableString *lStr = [[NSMutableString alloc] initWithData:CDATABlock encoding:NSUTF8StringEncoding];