[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ampersand fun

Subject: Re: ampersand fun
From: "Malcolm Macaulay" <malcolm_xslt_list@xxxxxxxxxxx>
Date: Tue, 27 May 2003 12:18:04 -0500
how to write ampersand
Hi Martin,

I've had the same problem and people explained to me that it is an encoding
problem. Unless you specify the encoding (like this, for example):
<xsl:output name="html" method="html" encoding="UTF-8"/>

there is no guarantee what the browser will assume. In addition you might
want to use this:

& # 1 6 9 ; (without the spaces)

rather than this:

&amp;

in your XSLT

HTH

cheers

Malcolm

----- Original Message ----- 
From: "Martin Lampen" <mlampe@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 27, 2003 7:44 AM
Subject:  ampersand fun


> This is probably an old question but, when trying to encoide an ampersand
in a URL even when I write is as:
>
> <xsl:text>&amp;</xsl:text>
>
> the page doesn't render. Any ideas?
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.