problems with namespaces when using xpath in Products Posted January 8, 2010 I have a XML source that is using namespaces.I am using the following query for the Report Query:/ns3:QueryNetworkElementResponse/NetworkElementThe XML data looks something like this:<ns3:QueryNetworkElementResponse xmlns:ns3="http://www.tieroneoss.com/tnpNML/" > <NetworkElement> <ns1:Id xmlns:ns1="http://www.tieroneoss.com/tnp/NetworkResources">1</ns1:Id> <ns1:Name xmlns:ns1="http://www.tieroneoss.com/tnp/NetworkResources">UploadTerm/UploadTerm</ns1:Name>....The report returns no data.If I take out the namespace, it works fine.Any suggestions?Ion
problems with namespaces when using xpath
in Products
Posted
I have a XML source that is using namespaces.
I am using the following query for the Report Query:
/ns3:QueryNetworkElementResponse/NetworkElement
The XML data looks something like this:
<ns3:QueryNetworkElementResponse xmlns:ns3="http://www.tieroneoss.com/tnpNML/" >
<NetworkElement>
<ns1:Id xmlns:ns1="http://www.tieroneoss.com/tnp/NetworkResources">1</ns1:Id>
<ns1:Name xmlns:ns1="http://www.tieroneoss.com/tnp/NetworkResources">UploadTerm/UploadTerm</ns1:Name>
....
The report returns no data.
If I take out the namespace, it works fine.
Any suggestions?
Ion