Hello Georg, Monday, December 1, 2003, 10:11:10 PM, you wrote:
>> before bundling i'd like to see the api refined... >> >> right now it's not possible to work with more than one html-doc at a >> time. (tidy_parse_file() does not return a resource to the internal >> tidy doc, so you can only have one doc at a time) > Yes, Thies is right here! But > s/resource/object :) > I don't know the tidy api very well, but wouldn't be the normal way to have an > object for a Document (which was created by tidyCreate) instead to use a > global value for? So you can work with multiple documents, and you also can > add additional (userland) functionality. This would be the "normal" behaviour > for new php5 extensions (simplexml, sqlite, mysqli, mono, ...). I had the idea of a tidy wrapper long ago too. So i am +1 But i also would like to see it with an object (php 5) api and i'd like to see an output handler, too. -- Best regards, Marcus mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php