Hi Trevor,

On Tue, 8 Apr 2003, Trevor Leung wrote:

> xindice xpath -v -c /db/test -q /person[fname="Paul"]
>
> it return nothing, is there any wrong with me???

No, nothing wrong with you, I see exactly the same behaviour.

Modifying the query to:
 xindice xpath -v -c /db/test -q '/person[contains(fname,"Paul")]'
... gets the result you are after.

I suspect there's some bug in your xpath, although it looks sane to me.


Andrew.

-- 
Andrew Savory                                Email: [EMAIL PROTECTED]
Managing Director                              Tel:  +44 (0)870 741 6658
Luminas Internet Applications                  Fax:  +44 (0)700 598 1135
This is not an official statement or order.    Web:    www.luminas.co.uk

Reply via email to