startCDATA Method

 

Receives the beginning of a character data (CDATA) section. The contents of the CDATA section are reported through the regular characters event.

This event is intended only to report the boundary.

Visual Basic Implementation Syntax

Sub startCDATA
()  

Return Values

If successful, returns void.

If failed, the application may raise an exception.

C/C++ Syntax

HRESULT startCDATA();  

Return Values

S_OK
The value returned if successful.

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

Remarks

The startCDATA 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]]>.  

Versioning

Implemented in: MSXML 3.0 and later

Applies to

ISAXLexicalHandler Interface

See Also

characters Method
endCDATA Method