tags:

views:

75

answers:

1

Unfortunately the PHP DOM classes and functions are not very well documented and I am starting projects that are going to be very XML heavy. I do not have a solid grasp on the DOM functionality and have been making due with SimpleXML abd XMLWriter untill now, but I am running into some serious problems with their limitations.

Is there a good book with lots of cookbook examples that teach you the ins an outs of the PHP DOM? A lot of what I am doing is translating some constrained syntax xml into verbose xml, converting non xml data sources to xml, and converting xml data into non xml data outputs, and the tutorials I have available are not all that enlightening.

+1  A: 

The PHP DOM functionality mostly mirrors the DOM specs, except that some of the functions have been made class members where it makes sense (e.g., DOMDocument::loadXML()). There are quite a few DOM tutorials around, including one from W3Schools.

Ignacio Vazquez-Abrams