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

Use of ampersands in name value pairs of a url

Subject: Use of ampersands in name value pairs of a url
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Fri, 23 Apr 2004 09:40:31 +0100
name value pairs
Hi all,

I hope I'm not missing something obvious here...

I'm generating a url for the source of an image of the form:

<img src="http://123.456.0.1?doc=myimage.gif%26instance=1"/>

Now the problem is that the escaped ampersand '%26' is not being
interpreted as the delimeter for the name value pairs, and doc is coming
through as 'image.gif&instance=1'.

The only way around this I can see is to use &_amp; in the stylesheet
with disable-output-escaping - but there must be another way?

How can I build a set of name-value pairs in the stylesheet that don't
require d-o-e?

thanks
andrew

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.