RE: [xsl] href with & ?

Subject: RE: [xsl] href with & ?
From: "Nik Krimm" <nik.krimm@xxxxxxxxxxxxxxx>
Date: Tue, 17 Sep 2002 15:12:11 -0500
try
     <A href="../TransformXMLServlet?code={.}">&amp;<xsl:value-of select="."/></A>
the problem is that you need to escape the & sign.  


-----Original Message-----
From: Holmberg Rick-ra0119 [mailto:Rick.Holmberg@xxxxxxxxxxxx]
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


Current Thread