try
<A href="../TransformXMLServlet?code={.}">&<xsl:value-of
select="."/></A>
the problem is that you need to escape the & sign.
-----Original Message-----
From: Holmberg Rick-ra0119 [mailto:Rick(_dot_)Holmberg(_at_)motorola(_dot_)com]
Sent: Tuesday, September 17, 2002 2:58 PM
To: Xsl-List (E-mail)
Subject: [xsl] href with & ?
I have the following code to create a link that will call a servlet. :
<xsl:for-each select="Code">
<br/>
<A href="../TransformXMLServlet?code={.}&"><xsl:value-of
select="."/></A>
</xsl:for-each>
It works until I put the & in before the value statement. Is there a way to do
this? I havent' seen this issue in the archives.
Thanks!
Rick
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list