Why don't you just use REGEX? I don't know any possibility to easily process contents which are not valid XML/XHTML just because there's no library to load such stuff (but put me in right there). I'm not an expert of REGEX, but I think the following would do it: /\<p\s*class\=\"question\"\s*\>(.*)\<\/p\> (my first contribute here, I beg your pardon if something went wrong) Regards, Valentin Dreismann
regexp is the best fit here and not much effort to do. Especially consider this is only for one time use.
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php