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 |
- current()
- Jörg Heinicke - Tue, 27 Nov 2001 17:03:47 -0500 (EST)
- Michael Kay - Tue, 27 Nov 2001 18:47:29 -0500 (EST)
- David Carlisle - Wed, 28 Nov 2001 04:12:05 -0500 (EST) <=
|
|