Top "Simplexml" questions

A PHP extension shipped with the main source tree.

Using SimpleXML to load remote URL

I am trying to use SimpleXML to load a remote URL. If I type into my browser the following; http://…

php xml simplexml
Loop through an XML object with SimpleXML

I am trying to use SimpleXML in PHP to loop through a XML object - the object format is below:…

php xml simplexml
Check if xml node exists in PHP

I have this simplexml result object: object(SimpleXMLElement)#207 (2) { ["@attributes"]=> array(1) { ["version"]=> string(1) "1" } ["weather"]=> object(SimpleXMLElement)#206 (2) { ["@attributes"]=> …

php xml simplexml exists
converting SOAP XML response to a PHP object or array

I'm using cURL to send an request to a SOAP service, I send in POST Body the XML containing parameters, …

php xml web-services soap simplexml
SimpleXML - "Node no longer exists"

I'm trying to get the video data from this youtube playlist feed and add the interesting data to an array …

php simplexml
parse an XML with SimpleXML which has multiple namespaces

I have this ugly XML which has alot of namespaces on it, when I try to load it with simpleXML …

php soap namespaces simplexml
Updating XML node with PHP

I've an XML file test.xml <?xml version="1.0"?> <info> <user> <name> <…

php xml simplexml
SimpleXML: Selecting Elements Which Have A Certain Attribute Value

In an XML document, I have elements which share the same name, but the value of an attribute defines what …

php xml xpath simplexml netflix
simplexml_load_file not working

I have this piece of code below which works fine on my remote hosted server, but isnt for some reason …

php apache simplexml file-get-contents
PHP - SimpleXML - AddChild with another SimpleXMLElement

I'm trying to build a rather complex XML document. I have a bunch of sections of the XML document that …

php simplexml