I know the evaluate function is under review right now and I realize that it is very complex...however, I thought of one out that should definitely be in place...if a user specifies the full path like /root[1]/node[1]/child[1] it should just return immediately if(in_array($path,array_keys($this->nodes))) { return array($path); } why even look? Dan Allen -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https:[EMAIL PROTECTED]/ _______________________________________________ Phpxmldb-phpxml-arc mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/phpxmldb-phpxml-arc