On Tue, Jul 7, 2009 at 12:46 PM, BOWLER Paul<[email protected]> wrote: > The problem is that the pcf:Color node can appear at many levels within the > tree so specifying an absolute path won't work. > [..] > query = qm.createQuery("/jcr:root/the/starting/node/pcf:Color",
The trick is the "//" location step, which means descendent-or-self, ie. any node named pcf:Color in the subtree under the absolute path given before. Regards, Alex -- Alexander Klimetschek [email protected]
