This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: forming a link w/ arguments?


<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]