Hi Sankaran,

Hope the link of the site i am sending will help you a lot. It did help me a lot to do my R&D's before developing. This is a XPath Expression Testbed.

http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm

Avik


From: "sankara" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: RE: Need help in xPath
Date: Mon, 5 May 2003 21:37:08 +0530

I regret for asking this sort of questions.
Anyhow I got it working with XML DOM parser.

Regards,
Sankaran.

-----Original Message-----
From: Gianugo Rabellino [mailto:[EMAIL PROTECTED]
Sent: Monday, May 05, 2003 9:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Need help in xPath


> Thanks John, > But the query is not returning any values.

Sankaran,

I don't want to be harsh, but please do read documentation and FAQs
before posting. First of all this is the developer list and this kind of
questions belong to the user one, where you might get more help (even
then, however, they would belong more to an Xpath list, and you seem to
ask people to do your homework, since your question are pretty basic and
show little or no effort in understanding XPath). Plese have a look at
http://www.catb.org/~esr/faqs/smart-questions.html before posting.

This said, the only Xindice (better: XML:DB) related response is that in
XML:DB the XPathQueryService must return a Nodeset, so there is no way
for it to return you just an attribute value. You have to retrieve the
Element containing the attribute and then get the attribute value (by
means of SAX, DOM or your favorite API).

Ciao,

--
Gianugo Rabellino
Pro-netics s.r.l.
http://www.pro-netics.com



_________________________________________________________________
Win a PC. Every 15 days! http://server1.msn.co.in/sp03/hclbeanstalktour/index.asp Just take this quiz.




Reply via email to