Hi All,
 
I am using libxml2 2.6.23 for a soap response parser. I also use the
builtin xpath stuff to get nodes and such. Everything has been working
fine until now, I have come across a soap response which I can not get
xpath to work:
 
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance
<http://www.w3.org/2001/XMLSchema-instance> '
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/
<http://schemas.xmlsoap.org/soap/encoding/> ' 
xmlns:xsd='http://www.w3.org/2001/XMLSchema
<http://www.w3.org/2001/XMLSchema> '
soap:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/
<http://schemas.xmlsoap.org/soap/encoding/> '
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope'>
  <soap:Body>
   <getUIDResponse xmlns='http://www.hidden.com/Services/1.0'>
    <getUIDResult>1111122</getUIDResult>
   </getUIDResponse>
 <soap:Body>
</soap:Envelope>
 
 
I an using xmlXPathRegisterNS to register the soap namespace, but in the
getUIDResponse the default namespace is changed. I assume I have to
register that (http://www.hidden.com/Servicecs/1.0) as the default at
some point.
 
Is this possible, how would I do this action?
 
 Thanks
 
 Glenn
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to