Hi All,
I am using XML-Dom provided by symbian 7.0.My problem is that I am not able to first Node Name
iptriMDXMLElement = lptrMDXMLDocument->DocumentElement();//code for getting root element
Error:Not Able to get Root element
/*xml file using*/
<message>
<to>sanjeev</to>
<title>good</title>
</message>

void CIMPSXMLparser::ParseFileCompleteL()
{
CMDXMLDocument* lptrMDXMLDocument =
iXmlParser-DetachXMLDoc();
if(lptrMDXMLDocument == NULL)
return;
//CMDXMLText* lptrCMDText= CMDXMLText::NewLC(lptrMDXMLDocument);
//TPtrC &lTemp = lptrCMDText->Data();
iptriMDXMLElement = lptrMDXMLDocument->DocumentElement();//code for getting root element

TBool iBool=iptriMDXMLElement->HasChildNodes();
TPtrC LTemp2 =iptriMDXMLElement->LastChild()->NodeName();
}



If any provide me help.It will be great for me.