onden: Wednesday, March 07, 2001 9:39 PM
Aan: '[EMAIL PROTECTED]'
Onderwerp: RE: [PHP] parsing html / xml (more)
Matt McClanahan wrote:
[...]
> You're not going to find an XML parser that allows for most HTML,
> because if such a parser did exist, it would be a broken XML parser.
Matt McClanahan wrote:
[...]
> You're not going to find an XML parser that allows for most HTML,
> because if such a parser did exist, it would be a broken XML parser. :)
[...]
Fair enough, and that's as I expected. So that brings me to the second part
of my question: is there any php library t
Try here to take care of problems..
http://www.w3.org/People/Raggett/tidy/
Chad
-Original Message-
From: Nathaniel Hekman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 10:57 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] parsing html / xml
I'd like to parse
On Wed, Mar 07, 2001 at 10:07:37AM -0700, Nathaniel Hekman wrote:
> Here's another case that shows up often in html, but is illegal in xml, that
> I would need to parse: meta tags, tags, tags, and other
> "singletons".
>
>
>
>
>
> xml_parse would give an error, because t
"block".
Nate
-Original Message-
From: Nathaniel Hekman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 9:57 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] parsing html / xml
I'd like to parse a html file in much the same way the xml parser works. Ie
calling a me
I'd like to parse a html file in much the same way the xml parser works. Ie
calling a method for every tag encountered and so on. The xml parsing
methods don't seem to be forgiving enough for much of the html that's out
there. For example, many html files have tags like this:
but xml
6 matches
Mail list logo