If you're looking into diving into XML with PHP, but don't know where to start, then this new article from PHPBuilder might be just the place.
In Dynamic XML conversion using the SAX parser and a stack, the author shows you how to "build a simple converter for your XML. The idea is this: You have a web page in clean XHTML. The biggest part of the html will be tables, menu images and other design stuff. So why not replace the 30 kilobyte code for the menu with a nice little "<menu />"?". The code they show you helps build dynamic XML documents, and, using an array to store the information, create a PHP-accessible data chunk to make the HTML menu system from the XML.
It's not a bad little system to start off with - but some of the details might evade people out there that are completely new to XML parsing with PHP. The example is good, and is explained, but probably could have been explained a little bit more, just to be sure.




