I’ve recently been researching XML as a back-end data source for a new CMS I’m trying to build, continuing my perpetual quest for a completely database-independent front-end. My usual process for such endeavors is to pick up a couple books at the Library of Congress and peruse my RSS feeds for relevant insights. I like to start with the books (for example XML and PHP circa 2002) and work my way forward so that I can get a feel for how the technology has adapted. Before taking a look at some brand-spanking-new methods from PHP5, I’d like to take the opportunity to go over two classic methods for dealing with XML. continue reading »