--On 31 January 2007 21:24 +0800 stephan(_at_)wissel(_dot_)net wrote:
<xsl:element name="a">
<xsl:attribute name="href">
http://myserver/action.do?action=Approve&ID=<xsl:value-of select="."
/>
</xsl:attribute>
Approve
</xsl:element>
Apart from the '&' issue that others have explained, you could use an
attribute value template here.
<a href="http://myserver/action.do?action=Approve&ID={.}">Approve</a>
I always find literal result elements easier to understand and use them
whenever the element and attribute names are constant.
--
Owen Rees
Hewlett Packard Laboratories, Bristol, UK
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--