"David Carlisle" <> wrote in message
news:...
> "Pat" <> writes:
>
> > "David Carlisle" <> wrote in message
> > news:...
> > > "Pat" <> writes:
> > >
> > > > Hi all,
> > > >
> > > > In /company/employee[salary>=10000]/name |
> > > > /company/employee[salary>=10000]/title
> > > >
> > > > Is this the only way to do it ?
> > > > Or there's a simpler way?
> > > >
> > > > Thanks.
> > > > Pat
> > >
> > > /company/employee[salary>=10000]/*[self::name or self::title]
> > >
> > > David
> >
> > Thanks but seems doesn't work to my case.
>
> you mean the the expression that you posted and the one I posted give
> different results on some input? That would be odd, what processor are
> you using?
>
> David
I'm using the Admin Client Tool of eXist DB. Instead of having
different results, the client tool engine just return errors.
Not sure if the tool support this kind of syntax coz documentation
are very limited.
|