I've realized that exposing PHPTAL's DOM in prefilters wasn't the best idea - it's too basic to be useful.
So I've added PHPTAL_PreFilter::filterElement() method, which receives PHP5's native DOMElement to work on. This allows you to use full DOM, XPath, XSLT etc. in prefilters.
Even if you use DOM-based prefilter, PHPTAL still uses its own parser, and there's a lot of magic going on behind the scenes making PHPTAL's parser build PHP5 DOM and then convert PHP5 DOM to PHPTAL DOM.
http://phptal.org/files/PHPTAL-1.2.2b3.tar.gz -- regards, Kornel _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal