Share via


IXMLNodeFactory::EndChildren

4/8/2010

This method is called when all the sub-elements of the given element are complete (in other words, the matching end tag </SAMPLE> is reached). This method is also called if the tag is an empty tag <SAMPLE ... />. If this is the case, the fEmpty argument is set to TRUE in case the IXMLNodeFactory interface must differentiate between this case and <SAMPLE></SAMPLE>.

Syntax

HRESULT EndChildren( 
  IXMLNodeSource * pSource,
  BOOL fEmpty,
  XML_NODE_INFO * pNodeInfo
);

Parameters

  • pSource
    [in] The node source is passed into each node factory call so that the node factory can call back and obtain important information, such as the current line number, or stop the parser
  • fEmpty
    [in] Indicates whether the node is empty
  • pNodeInfo
    [in] Pointer to an XML_NODE_INFO structure that contains the information about the node to be processed

Return Value

This function should return S_OK if the function succeeds. Otherwise, an error code can be returned and the parsing will stop.

Remarks

This method is not called for terminal nodes.

Requirements

Header xmlparser.h
Library xmlparser.lib
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Reference

IXMLNodeFactory
IXMLNodeFactory::BeginChildren
XML_NODE_INFO