Re: [PHP] Good HTML parser needed

[email protected] (Per Jessen)
Newsgroups php.general
Organization Per Jessens personal news-server
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.