Hi,
With more levels of nesting for an XML parser ,


CComPtr iRooterElm;
hr = m_iXMLDoc->get_documentElement( &iRooterElm );
if( FAILED( hr ) || iRooterElm == NULL ) // Empty xml file
{
MessageBox( NULL, L"Empty document!", L"Error Loading XML",
MB_ICONSTOP );
return FALSE;
}

iRooterElm->get_childNodes( &List );


long Amount=0;
List->get_length( &Amount );

for( int i = 0; i < Amount; i++ )
{

List->get_item( i, &iNode );
DisplayChildren( (IXMLDOMElement*)iNode ); // This is where the
parsing is done
}




This call to get_length returns me wrong list length ie it stops after
the first child and doesnt count children after that ..Is there some
other API ,i can use