M
Maziar Aflatoun
Hi,
I have this XML file that I need to parse.
<property>
<name>some name</name>
<value>some value</value>
</property>
<report xmlns="http://schemas.site.com/test/test/">
<reportElementList>
<reportElement>
....
....
</reportElement>
</reportElementList>
My application works fine when I use doc.SelectNodes for 'property'.
However, for 'report' it fails because of the xmlns=.... Is there a way to
instruct the XMLDocument to ignore namespaces?
BTW, I have no control over the XML file that I get
Thanks
Maz.
I have this XML file that I need to parse.
<property>
<name>some name</name>
<value>some value</value>
</property>
<report xmlns="http://schemas.site.com/test/test/">
<reportElementList>
<reportElement>
....
....
</reportElement>
</reportElementList>
My application works fine when I use doc.SelectNodes for 'property'.
However, for 'report' it fails because of the xmlns=.... Is there a way to
instruct the XMLDocument to ignore namespaces?
BTW, I have no control over the XML file that I get
Thanks
Maz.