jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: XPath column specifier.
Date Tue, 19 Feb 2008 11:39:06 GMT
Hi Helio,

you need to specify the attribute axis:

//element(*, nt:base)(@prop:a | @prop:b)

regards
  marcel

hsp_ wrote:
> Hi;
> 
> How is the correct way to specify column names in result list in an Xpath
> search?
> I did the following:
> 1: //element(prop:a | prop:b, nt:base)
> and
> 2: //element(*, nt:base)(prop:a | prop:b)
> 
> neigther 1 nor 2 worked.
> Thanks.
> Helio.


Mime
View raw message