I know that I can use DOMDocument and DOMXPath to manipulate XML files. But, I really love JQuery, and it would be great if there was something more like JQuery in the PHP world that I could use for sever side DOM manipulation.
NOTE: I’m only interested here in how
JQuery Selects and Manipulates the DOM, not all
the other parts of JQuery (I guess
you can say just the Pop and the Sizzle
parts).
Update:
It looks like there is an equivalent for the selector functions, but as far as the manipulation functions I guess I have to stick with DOMDocument.
Well, excluding all the JavaScript specific stuff you’re left with a CSS selector engine:
http://framework.zend.com/manual/en/zend.dom.query.html
Enjoy 🙂