Not to be confused with the variant of the XML language, Simple XML.
The topic of this article may not meet Wikipedia's general notability guideline. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted. Find sources: "SimpleXML" – news · newspapers · books · scholar · JSTOR(November 2011) (Learn how and when to remove this template message)
SimpleXML is a PHP extension that allows users to easily 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. It represents an easy way of getting an element's attributes and textual content if you know the XML document's structure or layout.
Compared to DOM or the Expat parser, SimpleXML takes a fewer lines of code to read text data from an element.[6][7]
Contents
1Functions
2Error handling
3References
4External links
Functionsedit
addAttribute()[8]
addChild()
asXML()
attributes()
children()
__construct()
getDocNamespaces()
getName()
getNamespaces()
registerXPathNamespace()
xpath()
simplexml_import_dom
simplexml_load_file
simplexml_load_string
Error handlingedit
It is possible to suppress all XML errors when loading the document and then iterate over the errors.[9]
Simplexml Tutorials:
A PHP extension shipped with the main source tree. The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators. For the Java \"Simple\" XML framework, please use the [simple-framework] tag.
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website