Have you taken a look at this? I'm not a PHP guy, but I marked this article some time back due to the mention of jQuery.
http://ajaxian.com/archives/plaintemplate-phpquery AllexS -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MikeR Sent: Wednesday, August 15, 2007 4:59 PM To: jQuery (English) Subject: [jQuery] Quick question... We all know & love jQuery, but something that I've been wondering for a while now... not sure if it's feasible or not, but I'll ask anyway =). Is there any sort of HTML parser for PHP that's similar to jQuery's selectors? ie: $('div.class').html()...... but a PHP version? Thanks!