Use > in lieu of >
and < in lieu of <
because your query MUST comply with xml notations.
[EMAIL PROTECTED] wrote:
Hi all,
sorry for my bad english.
I have some problems with xpath queries. I have the file xml:
<?xml version="1.0"?>
<person>
<fname>John</fname>
<lname>Smith</lname>
<age>30</age>
</person>
the following query:
"/person[age>20]"
gives me the message: >was unexpected at this time.
the same problem whith
"/person[fname='John']and[lname='Smith']"
the message is: and was unexpected at this time
Can you help me?
T.I.A
Carmen