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.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to