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]
Other format: [Raw text]

RE: href with & ?


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@motorola.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


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