qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qexo-general] Emeting servler URIs with parameter lists


From: Stefano Santoro
Subject: [Qexo-general] Emeting servler URIs with parameter lists
Date: Fri, 19 Mar 2004 18:33:34 -0500 (EST)

Hi,

I am trying to have qexo emit the following servlet like URI without any 
succes:

  http://yo.org/srv?foo=1&bar=2

the character I am having problems is the ampersand (&)

These are a few things I tried:

(: 36 :) <img src="http://yo.org/srv?foo=1{unescaped-data("&amp;")}bar=2"/>
<img src="http://yo.org/srv?foo=1&amp;bar=2"; />


(: 37 :) let $amp := unescaped-data("&amp;") 
(: 38l:) return <img src="http://yo.org/srv?foo=1{$amp}bar=2"/>
<img src="http://yo.org/srv?foo=1&amp;bar=2"; />

(: 39 :) <img src="http://yo.org/srv?foo=1&amp;bar=2"/>
<img src="http://yo.org/srv?foo=1&amp;bar=2"; />

(: 40 :) <img src="http://yo.org/srv?foo=1&bar=2"/>
<stdin>:40:38: invalid entity reference

(: 41 :) let $amp := "&amp;"
(: 42l:) return <img src="http://yo.org/srv?foo=1{$amp}bar=2"/>
<img src="http://yo.org/srv?foo=1&amp;bar=2"; />

But if I simply do the following I get the unescaped single ampersand

(: 43 :)  unescaped-data("&amp;")
&

Is there a way I may have qexo emit this URL as is? 

  http://yo.org/srv?foo=1&bar=2 

Thanks,
Stefano





reply via email to

[Prev in Thread] Current Thread [Next in Thread]