|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: current()
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








