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

Re: Two Hard Questions (at least for me)

Subject: Re: Two Hard Questions (at least for me)
From: Edd Dumbill <edd@xxxxxxxxxxxxx>
Date: Tue, 6 Jul 1999 09:10:07 +0000
xsl output hard ampersand
On Mon, Jul 05, 1999 at 11:15:12PM -0500, Ross Cormier wrote:
> >The ampersand is the introducer for a character entity reference.  Valid XML
> >would be: <link servlet="SomeServlet" Query="?data1=foo&amp;data2=bar"/>
> >which should do what you want.
> 
> If I use &amp; the resulting HTML has &amp; in it...Is there ANY way to get
> XT to output &?

Not that I know of without resorting to writing your own non-XML namespace
handler (see "Non-XML output" under <http://www.jclark.com/xml/xt.html>.  

However browsers should deal with &amp; in the attribute value as you expect
and interpret it as "&".  Works for me fine, ymmv.

> Thanks again,
> Ross Cormier

-- 
Edd Dumbill | Director, Useful Information Co. & Pharmalicensing Ltd
tel: +44 (0) 702-093-6870 | edd@xxxxxxxxxxxxx | http://usefulinc.com
fax: +44 (0) 870-164-0230 | pgp: http://usefulinc.com/edd/pubkey.asc


 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.