Subject: RE: [xsl] current() From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Tue, 27 Nov 2001 23:46:39 -0000 |
> My XML: > > <cluster> > <inst machine="test1.virbus.de" inst-src="srctest"/> > <inst machine="test2.virbus.de" inst-src="srctest2"/> > <inst machine="test3.virbus.de" inst-src="srctest"/> > </cluster> > > My XSL: > > <xsl:template match="cluster"> > <xsl:apply-templates > select="inst[not(preceding-sibling::inst[@inst-src=current()/@ > inst-src])]"/> > </xsl:template> current() will return a <cluster> element, which does not have an @inst-src attribute. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] current(), Jörg Heinicke | Thread | Re: [xsl] current(), Jörg Heinicke |
Re: [xsl] Netscape changes font-siz, David B. Bitton | Date | [xsl] Need to set hidden field usin, Pekarek, Rose (MN10) |
Month |