Re: [xsl] a quick question re:   html entity

Subject: Re: [xsl] a quick question re:   html entity
From: "Charles White" <chuck@xxxxxxxxxxx>
Date: Fri, 7 Feb 2003 08:28:45 -0800
I was going to refer the poster to the FAQ last night (my time) at
http://www.dpawson.co.uk/xsl/xslfaq.html, but unfortunately, it's giving up
an internal server error.

Chuck White
Author, Mastering XSLT, Sybex Books
http://www.javertising.com/webtech
http://www.tumeric.net



> > At the moment, I'm trying to output
> >
> > <form method="post" id="filter"
> > action="/sops/sk.php?op=listing&NOCACHE=1&DEBUG=xml" />
> >
> > but I always get &amp; due to output escaping.
> >
> > <form method="post" id="filter"
> > action="/sops/sk.php?op=listing&amp;NOCACHE=1&amp;DEBUG=xml" />
> >
> > It looks like I have no choice but to disable output escaping in this
> > particular instance.
> >
>
> Oh dear, we are getting all the old chestnuts.
>
> Correct HTML demands that an ampersand in a URL (or anywhere) is escaped
> as &_amp;. (without the underscore of course). You can use
> disable-output-escaping to generate incorrect HTML if you are really
> determined, and every known browser will let you get away with this
> error, but why would you want to?
>
> Michael Kay
> Software AG
> home: Michael.H.Kay@xxxxxxxxxxxx
> work: Michael.Kay@xxxxxxxxxxxxxx
>
>
>  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