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

RE: a quick question re:   html entity

Subject: RE: a quick question re:   html entity
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 7 Feb 2003 13:32:49 -0000
html entity nbsp
> 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


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.