The node is persistent node it has been saved to the repository. We have created a new top level node recently and all its child node are not appearing when we query them using xpath.
Regards Abhinav Mishra UI Modernization Project, Tata Consultancy Services, Phone: 601-855-3175 Email : [EMAIL PROTECTED] -----Original Message----- From: Sebastian Prehn [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2008 1:52 AM To: [email protected] Subject: Re: Search Query Using Xpath 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 : [EMAIL PROTECTED] -- PLANETS-Webdesign - Web Applications Sebastian Prehn Balbierstr.8 67663 Kaiserslautern www.planetswebdesign.de PGP keyID: 0x3507AF63
