If you were to run xpath_eval() on a xpath query that that doesn't exist in a document, like /foo/foo/foo on a document that is soley <doc/> I think that it should still return an xpathcontext object, just with an empty nodeset, just as it would do if you run /doc/* ...there is no way to handle the result if it just returns null like it does now.
Dan -- ________________________________________________________________ Daniel Allen, <[EMAIL PROTECTED]> http://www.mojavelinux.com/ ________________________________________________________________ 'One Microsoft Way' is more than just an address. ________________________________________________________________ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php