This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: "Or" in XPATH expression at last step
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] "Or" in XPATH expression at last step
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 4 Sep 2001 18:46:59 +0100
- References: <794826DE8867D411BAB8009027AE9EB910F90604@FMSMSX38>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> but the xsl parser says it's illegal.
because it is: you can't use | inside a step.
<xsl:for-each select="/TOP/A[@type=2]/*[self::C or self::D]">
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list