Over on Zend this morning, there's a new piece for those XML-heads out there looking for a way to pull data out of a database and make a handy-dany XML file out of the information.
In their latest, Using the DOM XML functions to create XML files from SQL data, they show you how, using the DOM XML functioality of PHP, to create a nice, clean XML file for you to parse with the method of your choosing (XSL, an XML-parser on a remote machine, etc). It does require that you have the DOM software already installed before you get started, and dosen't show you how to compile it or anything.
This kind of method can really help out with things like inter-machine communication (XML-RPC) or making any kind of content availible to the outside world (like in an RDF/RSS file). And sharing content is what the internet is for....




