Top "Simplexml" questions

A PHP extension shipped with the main source tree.

Reading text in `<![CDATA[...]]>` with SimpleXMLElement

I'm importing an RSS feed with SimpleXMLElement in PHP. I'm having trouble with the title and description. For some reason, …

php xml simplexml cdata
Using XML node names with hyphens in PHP

I am trying to extract some data from XML but when I execute the following I get a Warning: Invalid …

simplexml php
PHP SimpleXML: insert node at certain position

say I have XML: <root> <nodeA /> <nodeA /> <nodeA /> <nodeC /> <…

php xml simplexml
Quickly convert simpleXMLObject to STDClass?

Does anybody know a quick way to convert a SimpleXMLElement to a normal STDClass object, without iterating through each branch …

php simplexml
Simple XML - Dealing With Colons In Nodes

I'm trying to read an RSS feed from Flickr but it has some nodes which are not readable by Simple …

php xml simplexml
Getting cdata content while parsing xml file

I have an xml file <?xml version="1.0" encoding="utf-8"?> <xml> <events date="01-10-2009" color="0…

php simplexml xquery
SimpleXML vs DOMDocument performance

I am building an RSS parser using the SimpleXML Class and I was wondering if using the DOMDocument class would …

php performance rss simplexml domdocument
Can simplexml be used to rifle through html?

I would like to grab data from a table without using regular expressions. I've enjoyed using simplexml for parsing RSS …

php html parsing simplexml
Unable to add namespace to an attribute with PHP's SimpleXML

I am creating an Atom feed, when I tried below to add xmlns:i as an attribute - $node->…

php simplexml xml-namespaces
simplexml_load_string errors on big files occur on one system but not another

I'm dealing with a third party PHP library that I can't edit, and it's been working fine for almost a …

php xml simplexml