Hello, I'm still fighting with xpath.class.php
I don't buy the fact the problems I have with xpath.class.php are related to my ISP because xml.php 1N6 works like a charm) and I use it a lot. So I'd to have a detailed explanation of the meaning of the following error : phpXML error: While parsing an XPath expression there was an error in the predicate "Gerhard", because it was the null string. If you wish to seach for the empty string, you must use ''. Context ======== xpath.class.php Line 1996 if (ereg('^\w*$', $predicate)) { // Display an error message. $this->_displayError("While parsing an XPath expression ". "there was an error in the predicate \"$predicate\", ". "because it was the null string. If you wish to seach ". "for the empty string, you must use ''."); return FALSE; } The error occurs when I try to use xpath.class.php with government example in this case searching for Gerhard:: phpXML error: While parsing an XPath expression there was an error in the predicate "Gerhard", because it was the null string. If you wish to seach for the empty string, you must use ''. Question =========== How can the string "Gerhard" be a "null string" ??? Luc -- 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] https://lists.sourceforge.net/lists/listinfo/phpxmldb-phpxml-arc