From: Banyai Zsolt > If I know well, the domxpath::query always returns with DOMNodeList. But > if i write an expression like this: //node1/@attribute and i haven't > got node1 node in the XML, the query return with false (boolean). But if > i write an expression like this: //node1/@attr when i have node1 node > but i haven't got attr attribute on that, the query return with an empty > DOMNodeList. > > If it's not a bug, please inform me about the details.
Thanks, fixed now. left over code from pre-domnodelist stuff. will always return domnodelist now unless there is an error Rob -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php