Re: XML in PHP5

From: Date: Sat, 01 Feb 2003 12:33:08 +0000
Subject: Re: XML in PHP5
References: 1  Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-16@lists.php.net to get a copy of this message
At 16:02 30-1-2003, you wrote:
For PHP5, I'd like to take the domxml extension, and rework it (still using the libxml and libxslt libraries) and create a "über-extension," which incorporates libxml and libxslt to become the default (and only) XML extension distributed with PHP.
I like the idea, but IMHO the combination XML and PHP5, shouldn't be focused around an extension. Instead it should take the same direction as streams. My reasoning is as follows: All XML related/derived technologies, are focused around an abstraction of data which we know as XML. It has certain rules to recognize the format and how it should be composed. These rules apply to all related technologies. Therefore, PHP should have 'builtin XML support', on the PHPAPI level. Whenever an extension needs to read XML input, it can use that API to get the information outof it, that it needs. For this to work, I think that SAX and XPATH should be core components, tied in with streams to resolve any references. How this should be worked out, is of later concern, but in order for XML to seemlessly integrate with php, one should not rely on extensions IMHO. Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua

« previous php.xml.dev (#16) next »