Hi:
I have the following web service object serialized into my XML DOM. With
XPath, I am able to select '//document/Info/ID' from the XML. Adding the
namespace is where I get a problem(see XML below).
--------------------------
<document>
<Info xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ID>416</LMID>
<NUM>1</BNUM>
</Info>
</document>
-------------------------------
Using the same XPath, nothing is returned. There are two ways I'd like to
try to solve this.
1) Try to remove the namespace (that seems to cause the problem)
2) Or make my XPath namespace aware.
<document>
<Info xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ID
xmlns="http://web/DataSubSystemWebService/Services">416</LMID>
<NUM
xmlns="http://web/DataSubSystemWebService/Services">1</BNUM>
</Info>
</document>
-------------------------------
Thanks in advance,
Don