|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ¶meter= in XML to HTML transformation
--On 31 January 2007 21:24 +0800 stephan@xxxxxxxxxx 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






