The eyeXML lib is an API for basic XML reading and modifying. It also has functions to manage a user's XML configuration files and functions to transform XML to a PHP array and vice versa.
append
array2xml
getXMLconfig
getXMLfile
getXmlHeader
setXMLconfig
setXMLfile
xml2array