This script retrieves the Moreover XML news feed and displays it as a list of links to the news sites along with the harvest time and headline. The data is parsed into an array so you can format it as you like.
This PHP4 code parses an XML document into a multidimensional array. The parser recognizes and processes almost all of XML, including processing instructions, general or external entities and notations. In addition many functions are provided to search and edit the document, build a new one and write it back to a string or to a file. The xml22 code is different to the Document Object Model.
The author notes "Since PHP4.0.3RC2 the sablotron extension for XSLT is shipped with PHP. I wrote therefore a most simple class, which should allow a basic understanding, of how it works."