Posted by Rik on 07/20/07 09:01
On Fri, 20 Jul 2007 09:56:44 +0200, Toby A Inkster
<usenet200707@tobyinkster.co.uk> wrote:
> Rik wrote:
>
>> Regex could be the way to go.
>
> Argh! No! That way lies nightmares.
Depends on how well both the regex(es) and HTML are written. Allthough it
could be a nightmare with nested tables indeed.
> Get the XML_HTMLSax3 class from PEAR
> and use that.
With a lot of overhead, but it would be the more robust solution indeed.
It's somewhat depended on wether to OP wants a 'fits (almost) all'
solution, or just for a single known table.
--
Rik Wasmus
[Back to original message]
|