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
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