Hi,

I have managed to put together a query which would select a multiple value
parameter or a single value parameter which is great and what i have wanted
for a long time.

The problem is it also returns other results that i do not want, like when
the search word appears in the body of text.

//[EMAIL 
PROTECTED]:primaryType='mgnl:content']/*[jcr:contains(category,'electromedical')or
jcr:contains(@category,'electromedical')]

This is my query. Like i said, if i have 'electromedical' appearing in the
body of an page, it will return that result too. I only want it to return if
it is found in the page 'category'.

Thanks,

Dieter
-- 
View this message in context: 
http://www.nabble.com/Problems-with-xpath-syntax-tf3965188.html#a11253867
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to