[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Mailto problem
Karlo, instead of: > <A><xsl:attribute name='HREF'> > mailto:abc@xxxxxxx?subject=order&body=send%20current-issue > </xsl:attribute> > </A> use <a><xsl:attriubte name="href"> <xsl:text disable-output-escaping='true'> mailto:abc@xxxxxxx?subject=order&body=send%20current-issue </xsl:text> </xsl:attriubte> </a> The problem is that you were using an & for something other than starting an entity. This will fix your problem. No. It won't fix anything. Please read the FAQ. The & in the URL should, like any other ampersand in an XMl document, be quoted as & The XSL system ensures that the output is well formed. Using disable-output-encoding as above just enables some XSL systems to produce an incorrect result. there's no need to use xsl:attribute at all, just <a href="mailto:abc@xxxxxxx?subject=order&body=send%20current-issue">..</a> is all that's required. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|