Поделиться через


endCDATA Method

 

Receives the end of a character data (CDATA) section.

Visual Basic Implementation Syntax

Sub endCDATA
()  

Return Values

If failed, the LexicalHandler raises a trappable error.

C/C++ Syntax

HRESULT endCDATA();  

Remarks

The contents of the CDATA section are reported through the characters event. The endCDATA event reports only the end boundary of the CDATA section.

A CDATA section provides a way to include characters such as "<", ">", and "&" in an XML document that would normally interfere with processing. A CDATA section uses the following syntax:

<![CDATA[text goes here]]>  

Return Values

S_OK
The value returned if no errors occur.

E_FAIL
The value returned if the parse operation should be aborted.

Versioning

Implemented in: MSXML 3.0 and later

Applies to

ISAXLexicalHandler Interface

See Also

characters Method
startCDATA Method