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

Re: &parameter= in XML to HTML transformation

Subject: Re: &parameter= in XML to HTML transformation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 31 Jan 2007 13:42:02 GMT
Re:  &parameter= in XML to HTML transformation
> While & is illegal in XML and HTML it is perfectly legal (and
> required) in an URL. 

Just as in English, & is a legal letter in English, but when the
sentence is encoded into an XML or HTML file it needs to be encoded as
&amp; Before being passed over the wire as part of a URI to retrieve a
document it will be parsed by an (XML or HTML) parser which will
interpret this as a single character.

> but it didn't address my problem. Unfortunately the server thinks these 
> two URLs are different:
> http://myserver/action.do?action=Approve&ID=7
> http://myserver/action.do?action=Approve&amp;ID=7

they are different but they also have differnt encodings in html.
the first is
 http://myserver/action.do?action=Approve&amp;ID=7
the second is
 http://myserver/action.do?action=Approve&amp;amp;ID=7


this is a FAQ

David

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-2011 All Rights Reserved.