RE: [xsl] forming a link w/ arguments?

Subject: RE: [xsl] forming a link w/ arguments?
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 13 Nov 2001 14:24:48 +0200
<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()">&amp;</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


Current Thread