Forgot :) Could it be the semi-columns? I remember jcr:primaryType also being an issue for me...
On Mon, Sep 19, 2011 at 4:14 PM, Erik Alphenaar <[email protected]>wrote: > Hi there, > > I am probably doing something terribly wrong, but I can't seem to find a > query that is working, based on my numerous searches in documentation. > > - I am using the admincentral to check my queries > - I use OpenUtils JCRCriteriaFactory.createDirectJcrQuery to create > pageable results in our apps > - It needs to be an xpath query, no sql > - repository: website > - returning nt:base for now > > I have tried: > > /jcr:root//*/MetaData[@mgnl:template='article'] > /jcr:root//*[MetaData/@mgnl:template='article'] > /jcr:root//*[@mgnl:template='article'] > to no avail... > > > while /jcr:root//*/MetaData nicely returns all MetaData nodes... > > Any help would be greatly appreciated!! > > > Regards, > Erik Alphenaar > JTeam B.V. > -- *Erik Alphenaar* – Senior Software Engineer – [email protected] - *http://www.jteam.nl* <http://www.jteam.nl/> *Office:* +31(0)20 486 20 36 *Fax:* +31(0)20 475 08 28 *Address:** *Rijnsburgstraat 9-11 - 1059 AT - Amsterdam - The Netherlands [image: JTeam LinkedIn Network http://www.linkedin.com/groups?gid=52324] <http://www.linkedin.com/groups?gid=52324> [image: JTeam HQ Twitter http://twitter.com/jteamhq] <http://twitter.com/jteamhq> [image: JTeam Facebook Fan Page http://www.facebook.com/pages/JTeam/116662445021418?ref=ts] <http://www.facebook.com/pages/JTeam/116662445021418?ref=tshttp://www.facebook.com/pages/JTeam/116662445021418?ref=ts> [image: JTeam Blog http://blog.jteam.nl] <http://blog.jteam.nl/> * Join us for the GOTO conference <http://info.jteam.nl/GOTOAmsterdam.html>, the premier software development event in Amsterdam. More info, click on the banner below... <http://info.jteam.nl/GOTOAmsterdam.html> * ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
<<wordpress.png>>
<<twitter.png>>
<<linkedin.png>>
<<facebook.png>>
