Sorry i must be wrote:
 C:\xindice>xindice xpath -c /db/com/ESH_Systems/ContingenSys/users -q /[EMAIL PROTECTED]"Usuario1"]
----- Original Message -----
Sent: Friday, January 18, 2002 9:27 PM
Subject: Re: Xpath problem

The <User> element does not have a Name attribute in the example document that you showed. Could this be the source of your problem?
 
--
THINGS TO DO IF I BECOME AN EVIL OVERLORD #49
If I learn the whereabouts of the one artifact which can destroy me, I
will not send all my troops out to seize it. Instead I will send them
out to seize something else and quietly put a Want-Ad in the local paper.
----- Original Message -----
Sent: Friday, January 18, 2002 4:34 PM
Subject: Xpath problem

Hi All.
 
I'm running the lastest CVS version under w2k, jdk 1.3.1, i just can get results from xpath queries that not involve attributes, when i use any attribute i get no results.
 
C:\xindice>xindice xpath -c /db/com/ESH_Systems/ContingenSys/users -q /User
 
returns correctly.
unlike any such:
 
C:\xindice>xindice xpath -c /db/com/ESH_Systems/ContingenSys/users -q /[EMAIL PROTECTED]"Usuario1"]
 
does not return any result
 
Also
 
C:\xindice>xindice xpath -c /db/com/ESH_Systems/ContingenSys/users -q /User[last()]
 
returns all documents in users collection, that's ok?
 
My documents in that collection as such:
<?xml version="1.0" encoding="UTF-8"?>
<User ID="1" Login="Usuario1" Active="true">
 <Name>Miguel Angel Urrutia Soler</Name>
 <CompanyData>
  <ElementData Name="EmployeeNumber">12323</ElementData>
  <ElementData Name="Deparment">Ninguno</ElementData>
  <ElementData Name="Job Title">El Jefe</ElementData>
 </CompanyData>
</User>
Please, somebody knows how fix this problem?
 
Miguel Angel Urrutia Soler
 

Reply via email to