Sent by a parser object to its delegate when it encounters a CDATA block.
- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
NSXMLParserobject parsing XML.
A data object containing a block of CDATA.
Through this method the parser object passes the contents of the block to its delegate in an
NSData object. The CDATA block is character data that is ignored by the parser. The encoding of the character data is UTF-8. To convert the data object to a string object, use the