Re: DOM Implementation for PHP3
| From: | Thies C. Arntzen | Date: | Thu, 15 Apr 1999 19:43:41 +0000 |
| Subject: | Re: DOM Implementation for PHP3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-5078@lists.php.net to get a copy of this message | ||
On Thu, 15 Apr 1999, Andrey Zmievski wrote:
> 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.
it would be insane great if we had something like DOM for php4- more and
more of the formats we have to handle will be XML and to have a
standarized abstraction layer to traverse, modify and query those
documents would make life far easier - and the XMP parser functions
obsolete (sorry stig;-) - at least we would have a very high-level
interface, that could&would reduce the scrip size by an order of a
magnitude....
my 2cents,
tc
>
> -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
>
>
>
--
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