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


-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to