Compartilhar via


ISAXLexicalHandler::endCDATA Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method receives the end of a character data (CDATA) section. The contents of the CDATA section are reported through the characters event. The endCDATA event reports only the end boundary of the CDATA section.

Syntax

HRESULT endCDATA();

Parameters

None.

Return Value

  • S_OK
    Returned if no errors occur.
  • 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, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ISAXContentHandler::characters Method
ISAXLexicalHandler::startCDATA Method
ISAXLexicalHandler