|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Please help with predicate problem
> -----Original Message----- > From: Julien Martin [mailto:balteo@y...] > Sent: 26 September 2002 15:03 > To: xml-dev@l... > Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








