On 25/06/2013 23:28, miguel olivares varela wrote:
I try to parse a soap/xml answer like: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:giftPkgResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://192.168.2.135:8490/gift-ws/services/SRV_GIFT_PKG"> <giftPkgReturn soapenc:arrayType="xsd:string[2]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <giftPkgReturn> xsi:type="xsd:string">0</giftPkgReturn"> <giftPkgReturn> xsi:type="xsd:string">OK</giftPkgReturn> xsi:type="xsd:string"> </giftPkgReturn> </ns1:giftPkgResponse> </soapenv:Body> </soapenv:Envelope>
[snip] The XML contains this: </giftPkgReturn"> That's the problem. -- http://mail.python.org/mailman/listinfo/python-list