Re: [PHP] Good HTML parser needed
- Date: Tue, 13 May 2008 12:06:02 +0200
- From: Per Jessen <per@xxxxxxxxxxxx>
- Subject: Re: [PHP] Good HTML parser needed
Shelley wrote:
> I want to know whether there are some good HTML parsers written in
> PHP.
>
> That is,
> the parser checks whether html tags like table, tr, td, div, dt, dl,
> dd, script, ul, li, span, h1, h2, etc. are nested correctly.
> If any tags not matched, just remove them.
Except for the last part, any XML parser will do. Sablotron, xalan,
libxsl etc.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php