jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Prehn <sebastian.pr...@planetswebdesign.de>
Subject Re: Search Query Using Xpath
Date Tue, 06 May 2008 06:51:37 GMT
On Tuesday 06 May 2008 01:43:12 Abhinav Mishra wrote:
> We are able to search the document in the node in the jackrabbit using the
> api method call getNode().
>
> But if we use the XPath query for any document in this particular node its
> not bringing back the results.
Hi!
Are these nodes you are searching for new/transient Nodes? According to the 
spec the queries are run against the persitent repository. So you would have 
to save your changes first for them to show up in the query result.

regards,
Sebastian

> Using the Same Code  Xpath Queries we are able to the get the Documents in
> other nodes.
>
>
>
> Can anyone help regarding this ?
>
>
>
> Thanks
>
>
>
> Regards
>
> Abhinav Mishra
>
> UI Modernization Project,
>
> Tata Consultancy Services,
> Phone: 601-855-3175
>
> Email  : amishra@mdes.ms.gov



-- 
PLANETS-Webdesign - Web Applications
Sebastian Prehn
Balbierstr.8 67663 Kaiserslautern
www.planetswebdesign.de
PGP keyID: 0x3507AF63

Mime
View raw message