[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: current()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 28 Nov 2001 09:11:54 GMT
<xsl:template match="cluster">
    <xsl:apply-templates
select="inst[not(preceding-sibling::inst[@inst-src=current()/@inst-src])]"/>

so in that exprerssion current() is the cluster element, but the cluster
element in your example had no inst-src attribute, so the inner
predicate is [@inst-src='']

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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member