[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] paratheses and or (|) operator? --converting old WD stylesheet


Subject: Re: [xsl] paratheses and or (|) operator? --converting old WD stylesheet
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 7 Jan 2005 16:54:50 GMT

  descript/(abstract | purpose | supplinf)

becomes legal again in Xpath 2 so one way would be to target
XPath2/XSLT2 but in XSLT1/Xpath1 you can use

descript/*[self::abstract or self:: purpose or self::supplinf]

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords