xpathnavigator and namespaces

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • valmir fernandes junior
    New Member
    • Sep 2010
    • 1

    xpathnavigator and namespaces

    i have this xml:
    <soapenv:Envelo pe xmlns:soapenv=" http://schemas.xmlsoap .org/soap/envelope/">
    <soapenv:Body >
    <ns2:getCardDet ailsResponse xmlns:ns2="http ://service.thbi.am ericanexpress.c om/">
    <return>
    <authbal>25.0 </authbal>
    <cardcurr>EUR </cardcurr>
    <expdate>3/31/2015 11:59:59 PM</expdate>
    <processmessage >Operation Completed Successfully</processmessage>
    <statusText>ACT IVE</statusText>
    <statuscd>0</statuscd>
    </return>
    </ns2:getCardDeta ilsResponse>
    </soapenv:Body>
    </soapenv:Envelop e>

    how do i recover the <statusText> value using xpath navigator ? this namespace thing is screwing up everithing...
Working...