Hi All!
 
I found the problem, in order to execute xpath queries from w2k using the command line tool the query argument must be enclosed between " double quotation marks and the seeking attribute value between single quotation marks as follows:
 
C:\xindice>xindice xpath -c /db/com/ESH_Systems/ContingenSys/users -q "/[EMAIL PROTECTED]'Usuario1']"
 
however a xpath query seeking for a element in a specific position as /User[1] or  /User[last()] returns all the User elements in the collection neither first or last, another position query different from 1 or last() does not returns any result (/User[2]).
 
Also anybody knows if the use of relational operator "and" or "or" in attributes expressions are supported? By example: "/[EMAIL PROTECTED]'1' and @Login='Usuario1']" returns me : "and was unexpected at this time" message error
 
 
Thanks.
 
Miguel Angel Urrutia Soler

Reply via email to