Linux Today: Linux News On Internet Time.

developerWorks: SimpleXML Processing with PHP

Oct 12, 2006, 02:15 (0 Talkback[s])
(Other stories by Elliotte Rusty Harold)

[ Thanks to An Anonymous Reader for this link. ]

"PHP version 5 introduced SimpleXML, a new application programming interface (API) for reading and writing XML. In SimpleXML, expressions such as:


"select elements from a document. As long as you have a good idea of your document's structure, such expressions are easy to write. However, if you don't know exactly where the elements of interest appear (as might be the case in Docbook, HTML, and similar narrative documents), SimpleXML can use XPath expressions to find the elements..."

Complete Story

Related Stories: