This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: List in a variable
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] List in a variable
- From: Jarno dot Elovirta at nokia dot com
- Date: Wed, 8 Aug 2001 10:58:26 +0300
- Reply-To: xsl-list at lists dot mulberrytech dot com
<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