|
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.〔http://books.google.com/books?id=ygQRKDEsLecC&pg=PA434&dq=%22SimpleXML%22&hl=en&sa=X&ei=92daU9D8E4mP7AaD6IGIBQ&ved=0CEEQ6AEwAQ〕〔(PHP.net SimpleXML intro )〕 It represents an easy way of getting an element's attributes and textual content if you know the XML document's structure or layout.〔(onlamp introduction to SimpleXML )〕 Compared to DOM or the Expat parser, SimpleXML takes a fewer lines of code to read text data from an element.〔(w3schools SimpleXML Tutorial )〕〔()〕 == Functions == * addAttribute()〔()〕 * addChild() * asXML() * attributes() * children() * __construct() * getDocNamespaces() * getName() * getNamespaces() * registerXPathNamespace() * xpath() * simplexml_import_dom * simplexml_load_file * simplexml_load_string 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「SimpleXML」の詳細全文を読む スポンサード リンク
|