Re: Unparsing HTML
| From: | Colin Pitts | Date: | Mon, 19 Jun 2000 03:40:11 +0000 |
| Subject: | Re: Unparsing HTML | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21704@lists.php.net to get a copy of this message | ||
In article
<Pine.GSO.4.10.10006180419370.20857-100000@guinness.digisle.net>,
cg@digisle.net (Christian Goetze) wrote:
> Anyway, how come PHP doesn't have built in support for HTML (or XML) parse
> trees and functions to build them, store them and dump them efficiently?
>
> Before I go out of my way to figure out how to implement these myself, I
> thought I'd ask...
Did you try looking at the domxml stuff? It's poorly documented, but
it's there. The libxml documentation (the library php uses for this)
claims to handle HTML as well as XML.