Re: Good HTML parser needed

From: Date: Tue, 13 May 2008 10:06:02 +0000
Subject: Re: Good HTML parser needed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-274235@lists.php.net to get a copy of this message
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

« previous php.general (#274235) next »