[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] List in a variable


Subject: RE: [xsl] List in a variable
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 8 Aug 2001 10:58:26 +0300

<xsl:key name="class" match="class" use="@type"/>

<xsl:variable name="myVar">
  <xsl:for-each select="key('class', 'second')">
    <xsl:value-of select="@name" />
    <xsl:if test="position() != last()">#</xsl:if>
  </xsl:for-each>
</xsl:variable>

Jarno

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread