[
Lists Home |
Date Index |
Thread Index
]
> -----Original Message-----
> From: Julien Martin [mailto:balteo@yahoo.fr]
> Sent: 26 September 2002 15:03
> To: xml-dev@lists.xml.org
> 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
|