Re: DOM Implementation for PHP3
| From: | Andrey Zmievski | Date: | Thu, 15 Apr 1999 18:07:23 +0000 |
| Subject: | Re: DOM Implementation for PHP3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-5076@lists.php.net to get a copy of this message | ||
Uwe Steinmann wrote:
> > Document Object Model, or something like that. Isn't it a client side
> > thing?
> I'm not sure what you mean by client side, but I guess it could be used
> to create an internal representation of an XML/HTML within a browser.
> My intention is rather to supply a php3 function which takes an
> XML/HTML document and returns a tree representation according to DOM.
> You get a very powerful tool to access certain parts within an XML/HTML
> document. This way php3 could be used to grab pieces of information
> from several documents in the web and combine them into a new page.
> I'm just not sure wether php3 can handle the whole DOM specification.
> It is very much object oriented and describes a bunch of classes
> like Dokument, Element, Node, .... which are likely to be nested.
-- End of excerpt from Uwe Steinmann
So why not do it for Zend/PHP4 instead? DOM handling in PHP could be very
powerful. XML handling is nice but parsing a big XML file based just on
element names is not too flexible.
-Andrey
* Programming is an art form that fights back. *
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net