Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Link to Us
Linux Jobs

Top White Papers

  • Is your sales and operations planning helping or hurting your bottom line? Here are 5 useful tips from the experts at Quintiq to guide you to a better...

  • At first glance, many attorneys assume that the ongoing fees associated with cloud-based software will surpass those of an on-premise solution over time....

More on LinuxToday

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: