I was curious as to whether or not there exists a jQuery-style interface/library for PHP for handling HTML/XML files -- specifically using jQuery style selectors.
I\
my alternative is https://github.com/gymadarasz/xparser
fast and easy to use, an example:
$x('#nav a', function($elem) { $elem->href = '//myurl/' . $elem->href; });