You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Malligarjunan Sidduraj <Ma...@webMethods.com> on 2007/02/19 07:29:27 UTC
is XPath possible on property value?
All,
Can we apply XPath on a particular Property value which is a type of
application/xml.
We can do XPath on JCR tree Hierarchy that I know.
Ex : "//blog[@blogauthor = 'wsdl'
In that above example I want apply the XPath on Property value?
Like "//blog[@blogauthor = (XPATH Query) or some XPath Query on content?
If it is possible explain me with an example please?
Thanks
Malligarjunan S
Re: is XPath possible on property value?
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On 2/19/07, Malligarjunan Sidduraj
<Ma...@webmethods.com> wrote:
> Can we apply XPath on a particular Property value which is a type of
> application/xml.
>
> We can do XPath on JCR tree Hierarchy that I know.
> Ex : "//blog[@blogauthor = 'wsdl'
>
> In that above example I want apply the XPath on Property value?
> Like "//blog[@blogauthor = (XPATH Query) or some XPath Query on content?
No, that's not possible. If possible, you might want to consider
modifying your content model so that instead of storing XML in your
properties you expand the content into normal JCR nodes and
properties.
BR,
Jukka Zitting