Freigeben über


ignorableWhitespace Method

 

This method is not called in the current implementation because the Simple API for XML (SAX2) implementation is nonvalidating.

You can manually call the ignorableWhitespace method to pass white space characters such as space, carriage return (CR), tab, or line feed (LF) to the internal buffer of the MXXMLWriter object.

Visual Basic Implementation Syntax

Sub ignorableWhitespace(strChars As String)  

Visual Basic Usage Syntax

Dim stringOfXml As String  
stringOfXml = xmlDoc.xml  
oContentHandler.ignorableWhitespace stringOfXml  

Parameters

strChars
The character data.

Return Values

If failed, the ContentHandler raises a trappable error.

C/C++ Syntax

HRESULT ignorableWhitespace(  
   [in] const wchar_t * pwchChars,  
   [in] int cchChars);  

Parameters

pwchChars[in]
The character data.

cchChars[in]
The length of the character string.

Return Values

S_OK
The value returned if the character data is returned successfully.

E_FAIL
The value returned if an internal error occurs.

Remarks

The ignorableWhitespace method does not convert CR/LF("\r\n") to the Java LF('\n') implementation.

Versioning

Implemented in: MSXML 3.0 and later

Applies to

ISAXContentHandler Interface

See Also

Use MXXMLWriter