Hi

I am trying out xml parsing in uiq and series 60 2nd edition that do not support the CParser class.

I am using the following code for parsing XML File:
//connect to file server
iParserSession.Connect();
//Parse the XML file
User::LeaveIfError(iXMLParser->ParseFile(
iParserSession, _L("c:\\sample.xml")) == KErrNone);

And in the ParseFileCompleteL() function from MMDXMLParserObserver,
iXMLDoc = iXMLParser->DetachXMLDoc();

From the CMDXMLDocument* iXMLDoc thus obtained, i am trying to retrieve the data from the tree using CMDXMLNode fuctions, FirstChild, LastChild etc.
But, i seem to be getting just 2 element node s and nothing else.

Is the parsing done in correct manner?

Looking forward to some help.............