Juan Huang
2008-01-28 19:20:30 UTC
In jcr:contain, I can use "." to match any attributes in the node, like
"/pages/*[jcr:contains(., 'Special')]
But, with jcr:like, I have to give the attribute name, I can only use
/pages/*[jcr:like(@title, '%Special%')], I can't use something like
/pages/*[jcr:like(@*, '%Special%')] to find all the nodes that has any
attribute like %Special%. Is there any way to accomplish this?
Thanks.
Juan
"/pages/*[jcr:contains(., 'Special')]
But, with jcr:like, I have to give the attribute name, I can only use
/pages/*[jcr:like(@title, '%Special%')], I can't use something like
/pages/*[jcr:like(@*, '%Special%')] to find all the nodes that has any
attribute like %Special%. Is there any way to accomplish this?
Thanks.
Juan
--
View this message in context: http://www.nabble.com/does-jcr%3Alike-has-a-wildcard-like-jcr%3Acontain--tp15143136p15143136.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/does-jcr%3Alike-has-a-wildcard-like-jcr%3Acontain--tp15143136p15143136.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.