Try this:

   xindice xpath -c /db/ash -q "/person/fname=['john']"

Let me know what your results are...

Mark

ashruf ali wrote:

> Hi,...
> I tried to retreive the value from address2.xml as given in the xincidice
> reference material.
>
> i stored the address2.xml doc in ./db/ash
> i used xindice xpath_query -c /db/ash -q /person/fname=['john']
> i even tried to use the following line in address2.xml
>
> <person id="1">
> <fname>...
> ....
> </person>
> then i used the query xindice xpath_query -c /db/ash -q /[EMAIL PROTECTED]"1"]
> i couldnt fine any result, not even errors...
>
> plsease anyone help me with this... if possible send me the query to resolve
> this.
>
> Thanks,
> Ashruf Ali.
>
> >From: "Mark J. Stang" <[EMAIL PROTECTED]>
> >Reply-To: [email protected]
> >To: [email protected]
> >Subject: Re: Using Xpath i can exec. but i dont know where the o/p is...
> >Date: Sat, 18 May 2002 01:43:02 -0600
> >
> >Retrieved values are printed.   If you didn't get an error and you
> >didn't get a response, then your query did not find any data.
> >
> >Try posting your document and your query.   Someone can
> >usually point out how to get what you want.
> >
> >
> >HTH,
> >
> >Mark
> >
> >ashruf ali wrote:
> >
> > > Hi,...
> > > I used Xpath to retrieve an element... i didnt get any error message...
> > > will the retreived values stored in a temp file... if so plz. help me
> >with
> > > the details...
> > >
> > > Thanks,
> > > Ashruf Ali.
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> >http://explorer.msn.com/intl.asp.
>
> _________________________________________________________________
> Join the world�s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com

Reply via email to