SimpleXML
From Wikipedia, the free encyclopedia
Not to be confused with the variant of the XML language, Simple XML.
SimpleXML is a PHP extension that allows users to easily[1][2] manipulate/use XML data. It was introduced in PHP 5 as an object oriented approach to the XML DOM providing an object that can be processed with normal property selectors and array iterators.[3][4] It represents an easy way of getting an element's attributes and textual content if you know the XML document's structure or layout.[5]
The topic of this article may not meet Wikipedia's general notability guideline. (November 2011) |
Compared to DOM or the Expat parser, SimpleXML takes a fewer lines of code to read text data from an element.[6][7]