Thanks John, But the query is not returning any values. Sankaran.
-----Original Message----- From: John Merrells [mailto:[EMAIL PROTECTED] Sent: Monday, May 05, 2003 8:52 PM To: [EMAIL PROTECTED] Subject: Re: Need help in xPath On Monday, May 5, 2003, at 08:17 AM, sankara wrote: > I have to perform the condition and have to get the value from the > resulting > XMLs. > i.e., something like this: /id[objecttype='57' and > active='Y']/id/@value > /id[objecttype='57' and active='Y']/@value I recommend that you read the w3c xpath recommendation and play with that interactive tutorial. John Berkeley DB XML, http://www.sleepycat.com