startEmptyElement Method

 

Receives notification of the beginning of an empty element. The reader invokes the startEmptyElement method at the beginning of every empty element in the XML document.

Note

The IMXRContentHandler interface is for MSXML internal use, and is not intended to be used directly from your code.

C/C++ Syntax

HRESULT startEmptyElement(  
   [in] const wchar_t * pwchNamespaceUri,   
   [in] int cchNamespaceUri,   
   [in] const wchar_t * pwchLocalName,   
   [in] int cchLocalName  
   [in] const wchar_t * pwchQName  
   [in] int cchQName);  
   [in] ISAXAttributes * pAttributes);  

Parameters

pwchNamespaceUri[in]
The namespace URI.

cchNamespaceUri[in]
The length of the namespace URI.

pwchLocalName[in]
The local name string.

cchLocalName[in]
The length of the local name.

pwchQName[in]
The QName, with prefix, or an empty string (if QNames are not available).

cchQName[in]
The length of the QName.

pAttributes[in]
The attributes attached to the element.

Return Values

S_OK
The value returned if no errors occur.

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

Versioning

Implementation:

MSXML4: msxml4.dll

MSXML6: msxml6.dll

See Also

endEmptyElement Method
IMXRContentHandler Interface