Re: [xsl] Ampersand in url

Subject: Re: [xsl] Ampersand in url
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 13 Sep 2001 12:35:58 +0100
> I'm trying to construct a url in my xsl, the url contains an ampersand and I
> can't get it to output it as & instead of &amp;

This is a FAQ. (It's best to check the FAQ list for these kinds of
questions).

You can't have an unquoted & in either XML or HTML. &amp; is correct
(and will work in your browser).

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


Current Thread