This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: current()
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 28 Nov 2001 09:11:54 GMT
- Subject: Re: [xsl] current()
- References: <007b01c1778f$744b5fd0$45b7128b@joerg>
- Reply-to: xsl-list at lists dot mulberrytech dot com
<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