Subject: Re: "Or" in XPATH expression at last step
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 4 Sep 2001 18:46:59 +0100
|
> 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
|