On Fri, Sep 11, 2009 at 18:28, Phukan, Anit <[email protected]> wrote: > I just need to get an object back from a node based on a node attribute > that I specify.
You can use a query. With Xpath this would look like this: //element(*, my:nodetype)[...@property = 'value'] Have a look at the JCR 1.0 specification [1], sections 6.6 and/or 8.5. [1] http://jcp.org/en/jsr/detail?id=170 Regards, Alex -- Alexander Klimetschek [email protected]
