Next in thread → Next in month →

RE: [xml-dev] Please help with predicate problem

From
James Fuller <>
To
Date
2002-09-26T14:06:22Z
ID
<>
Thread
RE: [xml-dev] Please help with predicate problem
> -----Original Message-----
> From: Julien Martin [mailto:]
> Sent: 26 September 2002 15:03
> To: 
> Subject: [xml-dev] Please help with predicate problem
>
>
> Hello,
>
> I am trying to use an OR predicate as follows:
>
> ******************************
> /liste-citations/citation[@id='2' | @id='1']
> ******************************
>
> In other words, I want to select all citation elements
> having the attribute '1' OR '2'.
>

/liste-citations/citation[@id='2' or @id='1']

notice the word 'or' ....

almost painfully simple no ? the | seperator is a union operator in XSLT
/XPATH btw

gl, jim fuller
Next in thread → Next in month →