Hi, This should work:
/jWideUser[username='kanarinka' and password='kpwd'] -----Original Message----- From: Kanarinka [mailto:[EMAIL PROTECTED] Sent: 16 May 2002 16:32 To: [email protected] Subject: XPath logical AND question Hi all, I'm wondering if someone knows the answer off the top of their head - I want to create an XPath query against Xindice that will select a result only if two conditions are true. Here's the bginning of the XPAth query: "/jWideUser[username/text()=kanarinka]"; I need to select based on username AND password, however, and I can't seem to find the syntax in XPAth for doing something like this: "/jWideUser[username/text()=kanarinka] && /jWideUser[password/text()=kpwd]" Anyone know how to do this? THanks for your help! catie
