This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: forming a link w/ arguments?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] forming a link w/ arguments?
- From: Jarno dot Elovirta at nokia dot com
- Date: Tue, 13 Nov 2001 14:24:48 +0200
- Reply-to: xsl-list at lists dot mulberrytech dot com
<xsl:template match="LINK">
<A>
<xsl:attribute name="HREF">
<xsl:value-of select="substring-after(BASE, 'http://')" />?<xsl:text
/>
<xsl:for-each select="ARG">
<xsl:value-of select="@NAME" />=<xsl:value-of select="@VALUE" />
<xsl:if test="position != last()">&</xsl:if>
</xsl:for-each>
</xsl:attribute>
<xsl:value-of select="TEXT" />
</A>
</xsl:template>
J
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list