This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: href with & ?
- From: "Nik Krimm" <nik dot krimm at emacdigital dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Cc: <mailto:Rick dot Holmberg at motorola dot com>
- Date: Tue, 17 Sep 2002 15:12:11 -0500
- Subject: RE: [xsl] href with & ?
- Reply-to: xsl-list at lists dot mulberrytech dot com
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.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