RE: [xsl] How do I generate an HTML anchor element?

Subject: RE: [xsl] How do I generate an HTML anchor element?
From: Jarno.Elovirta@xxxxxxxxx
Date: Mon, 28 Oct 2002 16:06:54 +0200
Hi,

> Here is where I originally started:
> <table>
> <tr>
>     <td>
>          <a HREF="SomeURL.jsp?FirstName=FirstValue&SecondValue
> =<xsl:value-of select="AAA/BBB"/>>        <xsl:value-of select="DDD"/>
>          </a>
>     </td>
>    </tr>
> </table>

Did you mean 

  <a href="SomeURL.jsp?FirstName=FirstValue&amp;SecondValue={AAA/BBB}">
    <xsl:value-of select="DDD"/>
  </a>

See Attribute Value Templates from XSLT 1.0 spec to find out how those curly brackets work.

Cheers,

Jarno

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


Current Thread