Top "Simplexml" questions

A PHP extension shipped with the main source tree.

How to save changed SimpleXML object back to file?

So, I have this code that searches for a particular node in my XML file, unsets an existing node and …

php xml simplexml
Using SimpleXML to read RSS feed

I am using PHP and simpleXML to read the following rss feed: http://feeds.bbci.co.uk/news/england/rss.…

php xml rss simplexml
simplexml error handling php

I am using the following code: function GetTwitterAvatar($username){ $xml = simplexml_load_file("http://twitter.com/users/".$username.".xml"); $imgurl = $…

php xml simplexml
PHP simpleXML how to save the file in a formatted way?

I'm trying add some data to an existing XML file using PHP's SimpleXML. The problem is it adds all the …

php formatting simplexml
How to write CDATA using SimpleXmlElement?

I have this code to create and update xml file: <?php $xmlFile = 'config.xml'; $xml = new SimpleXmlElement('<…

php xml simplexml cdata
Unterminated entity reference in PHP

Here is my code: <?php // 27/01/2016 Edit: $result = mysql_query("A Long mysql query"); $rss = new SimpleXMLElement('<rss …

php xml simplexml php-7
Getting actual value from PHP SimpleXML node

$value = $simpleXmlDoc->SomeNode->InnerNode; actually assigns a simplexml object to $value instead of the actual value of InnerNode. …

php simplexml
PHP SimpleXML + Get Attribute

The XML I am reading looks like this: <show id="8511"> <name>The Big Bang Theory</…

php xml simplexml
Best way to process large XML in PHP

I have to parse large XML files in php, one of them is 6.5 MB and they could be even bigger. …

php xml parsing simplexml large-files
Looping through a SimpleXML object, or turning the whole thing into an array

I'm trying to work out how to iterate though a returned SimpleXML object. I'm using a toolkit called Tarzan AWS, …

php amazon-web-services simplexml amazon-simpledb