xsl-list
[Top] [All Lists]

RE: How do I generate an HTML anchor element?

2002-10-28 07:06:54
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



<Prev in Thread] Current Thread [Next in Thread>