Re: cvs: php-src /ext/simplexml
| From: | Shane Caraveo | Date: | Sat, 17 Jan 2004 22:36:56 +0000 |
| Subject: | Re: cvs: php-src /ext/simplexml | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-25714@lists.php.net to get a copy of this message | ||
yuck. I think there should be a register_ns function available. That way you do not need to reregister every xpath call.
Shane
Adam Maccabee Trachtenberg wrote:
On Sat, 17 Jan 2004, Sterling Hughes wrote:How about we provide an array of aliases to the xpath() function? This will avoid nasty refcounting as well.xpath('/foo:bar', array('foo' => 'http://www.example.org/foo')); Sounds good. -adam