Try it-works/*
Regards Jakabfi Attila -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Magnolia Forums (on behalf of Tim Shaw) Sent: 2011. május 23. 13:37 To: Magnolia User List Subject: [magnolia-user] XPath woes Hi, I'm new to Magnolia/XPath, but an experienced developer. I've set up a test case using the 'openutils' JUnitRepositoryTestcase. I have data in my repository! I can find it using MgnlContext.getHierarchyManager.getContent( "it-works" ). I can't find it using XPath ('/jcr:root/it-works/*')! The same code, with a query string of '/jcr:root//*' returns all my expected nodes, and I can see the 'it-works' ones fine. The context and setup is the same in all cases. Please help as I can't see what I'm doing wrong. Regards tim -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=803af20d-bbd4-4890-8697-481935abfce3 ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
