hai all,

I need to read( as string ) the xml as follows

[HTML]

<parent>
<child attr1="00001 " attr2="PPPP" /> // only this row i need to pass to function
<child attr1="00002" attr2="qqqqq" />

</parent>

[/HTML]

i need to pass this <child attr1="00001 " attr2="PPPP" /> as QString to a function , say
void foo( cosnt QString & xml );
please help me.