Re: [PHP-XML-DEV] Lack of configuration support in SAX interface
[email protected] (Rob Richards) Sat, 10 Sep 2005 09:42:41 -0400
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
Christian Stocker wrote: > >There were some requests for XML in PHP in general (not only xmlReader) >made here: > >http://blog.bitflux.ch/archive/2005/07/27/any-missing-xml-features-in-php.html#comments > >Some seem feasible, some are bogus and some just too much :) > > Which of those do you see as feasible? The simplexml methodology in DOM is definitely not going to happen. Not worth adding confusion into the API (can already do most this stuff using SimpleXML) to save a couple keystrokes. The only thing there that requires additional lines is deleting all children, but even that can be done with 2 lines of code. $newnode = $node->cloneNode(FALSE); /* shallow copy */ $node->parentNode->replaceChild($newnode, $node); /* Swap out nodes */ The issue Thies brought up of course is kind of an always open ended issue. XML Signatures/Encryption: Already looking into the xmlsec library - will eventually get around to this one. I had a hell of a time doing this stuff using only the current extensions. (It is possible btw but a bitch). Rob