[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Mailto problem


Subject: Re: [xsl] Mailto problem
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Wed, 29 Aug 2001 17:24:17 +0100

>
> so I try:
>
>       <A><xsl:attribute name='HREF'>
>
mailto:abc@xxxxxxx?subject=order&body=send%20current-issue
>           </xsl:attribute>
>      </A>
>
>
> I get the following error :
>
> "semi colon character was expected. Error processing resource
'd:test.xsl'.
> Line 49, Position 49

That's because the processor is intepreting &body as an entity with a
missing semi-colon terminator. You have to escape the ampersand to &amp;

Michael
---------------------------------------------------------
Michael Beddow   http://www.mbeddow.net/
XML and the Humanities page:  http://xml.lexilog.org.uk/
---------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml