Linked Questions

17 votes
2 answers
6k views

This question is intended as a reference to answer a particularly common question, which might take different forms: I have an XML document which contains multiple namespaces; how do I parse it with ...
IMSoP's user avatar
  • 99.7k
0 votes
1 answer
19k views

I'm trying to parse the following SOAP response, and need some guidance: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> ...
Eamonn's user avatar
  • 1,320
3 votes
1 answer
2k views

Any recommendations how to parse this SOAP response and obtain the value of name for the report_type? Notice there are two instances of name; one under report_type and the other under severity. Here ...
user1794852's user avatar
1 vote
2 answers
2k views

All, Trying to parse this SOAP response but xpath() is returning Debug Warning: SimpleXMLElement::xpath() Undefined namespace prefix Debug Warning: SimpleXMLElement::xpath() evaluation failed $...
Slinky's user avatar
  • 5,832
4 votes
2 answers
18k views

Possible Duplicate: How to parse SOAP response without SoapClient I have a simple nuSoap XML response: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas....
Peon's user avatar
  • 8,041
4 votes
2 answers
24k views

I am trying to convert a SOAP response to XML. SOAP has an envelop and a body <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
ntan's user avatar
  • 2,205
4 votes
2 answers
5k views

There are a ton of existing questions about PHP's simpleXML and processing XML with namespaces. All of the questions I've looked at have made a fundamental assumption: The code knows in advance what ...
beporter's user avatar
  • 4,038
0 votes
2 answers
6k views

After researching this on SO and google for hours now... I hope to get some help here: (I am just one step away from running a regex to remove the namespaces completely) First this is the XML: <?...
user avatar
0 votes
1 answer
2k views

How do I convert SOAP response like this to php array using SimpleXML? <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="...
Achintha Samindika's user avatar
0 votes
1 answer
2k views

I'm running into a parse error for some reason. I've narrowed it down to the "what", but not the "why". Here's my testing script: <?php $xml_string = '<?xml version="1.0" encoding="utf-8"?>...
coffeemonitor's user avatar
0 votes
1 answer
2k views

There are a plenty answers to my question for example Parse XML namespaces with php SimpleXML But i cant understand how to adjust the code to read value in my case? i have a namespace m: inside a ...
vyazikov's user avatar
0 votes
1 answer
1k views

So i'm working on a php script which passes information to a server using Curl and the POST method and then takes back information from that server in the form of XML.I then want to take this ...
Sean Ryan's user avatar
0 votes
1 answer
1k views

I am trying to parse a SOAP response for a PayPal integration in PHP, and I have read through the following posting: parse an XML with SimpleXML which has multiple namespaces which gives great ...
fablau's user avatar
  • 61
0 votes
2 answers
594 views

What am I trying to reach: I am trying to get a reponse from a webserver. With this response i have some data that I need to extract. I already have reached the point to receive a response from the ...
user3734231's user avatar
0 votes
2 answers
417 views

I'm doing a SOAP call and get data returned in XML. The returning XML has a markup from which I don't know how to handle. I only need all <web_get_debiteuren>. I thought of using php ...
Timo002's user avatar
  • 3,208

15 30 50 per page