Zend Framework users, listen up (well, really anyone even looking into the Zend Framework too). There's a new post on the Zend Developer Zone today about working with XML inside of the Zend Framework, courtesy of IBM.
One of the incubator projects in the Zend Framework is Zend_Db_Xml. Zend_Db_Xml, also known as the XML Content Store (XCS), allows web applications that use XML data to easily update, save, and otherwise manage this data. In this article I will introduce the XCS persistence API and discuss an implementation using IBM's DB2 9 database with its pureXML technology. Finally, I'll discuss a sample social networking application to show how easy and fun it is to develop XML-centric applications using the XCS.
They first discuss the XML Content Store and what it offers before getting into the actual code to control it. They go with the DB3 database to store the data and the Zend_Db_Xml_XmlUtil component to manage the connections. Finally, they get to the code and XML examples, creating a simple method for storing and retrieving a user's information.