ISAXLexicalHandler::startCDATA Method (Compact 2013)
3/26/2014
This method receives the beginning of a character data (CDATA) section. The contents of the CDATA section are reported through the regular characters event. The startCDATA event reports only the end boundary of the CDATA section.
Syntax
HRESULT startCDATA();
Parameters
None.
Return Value
- S_OK
Returned if successful.
- E_FAIL
Returned if the parse operation should be aborted.
Remarks
A CDATA section provides a way to include characters such as "<", ">", and "&" in an XML document that would typically interfere with processing. The following code sample shows a CDATA section.
<![CDATA[text goes here]]>.
Requirements
Header |
msxml2.h, |
Library |
uuid.lib |
See Also
Reference
ISAXLexicalHandler
ISAXContentHandler::characters Method
ISAXLexicalHandler::endCDATA Method