Hi lists,
I'm trying to write the GetCapabilities XML output. This output
contains nodes like LegendURL which require URL attributes like this:
http://localhost:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=prova_Coverage
My problem is that when the TransofmerSupport encounters an '&', it
transforms the latter in '&'
How can I avoid this translation?
Thx,
Alessio.
Hi Alessio,
On Thu, 2005-06-16 at 15:09 +0200, Alessio Fabiani wrote:
Hi lists,
I'm trying to write the GetCapabilities XML output. This output
contains nodes like LegendURL which require URL attributes like this:
http://localhost:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=prova_Coverage
My problem is that when the TransofmerSupport encounters an '&', it
transforms the latter in '&'
How can I avoid this translation?
You can't. I guess ideed you shouldn't, or else the resulting doc will
not be a well formed xml document. Client code which uses a xml parser
or dom method to extract the url should recieve the correct string
though.
I'll verify it, but I'm pretty sure that's how it should be.
cheers,
Gabriel
Thx,
Alessio.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel