Sam,

You're right,
This bug correction works perfectly well with 1N7pre
Luc

At 13:17 30/09/01 +0000, [EMAIL PROTECTED] wrote:
>Hi Luc,
>
>my answer will be surprising: "Everything is OK".
>The problem is in the code of M.Mehl you  use to do the query.
>It's missing quotes !:
>Sample:
>    //person/*[contains(., 'Jos')]/..    ( Not    //person/*[contains(., 
> Jos)]/.. )
>
>Correct line 134 (+/-)
>          $government = $xml->evaluate( "//person/*[contains(., $term)]/..");
>to
>          $government = $xml->evaluate( "//person/*[contains(., 
> '$term')]/..");
>
>Otherwise XPath will asume it's a function call instead of a string
>and will try to evaluate it.
>
>--
>Sam Blum <[EMAIL PROTECTED]>

--
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

Reply via email to