<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>First :<br>
In my case it was enough to define it in the configuration file for the
WMS datasource<br>
....<br>
&nbsp; &lt;SchemaMapping provider="OSGeo.WMS.3.1" name="WMS"
xmlns=<a class="moz-txt-link-rfc2396E" href="http://fdowms.osgeo.org/schemas">"http://fdowms.osgeo.org/schemas"</a>&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;complexType name="ByggType"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RasterDefinition name="Image"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Format&gt;PNG&lt;/Format&gt;<br>
<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Transparent&gt;true&lt;/Transparent&gt;<br>
</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BackgroundColor&gt;0xFFFFFF&lt;/BackgroundColor&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Time&gt;current&lt;/Time&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Elevation&gt;0&lt;/Elevation&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SpatialContext&gt;EPSG:32632&lt;/SpatialContext&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Layer name="VERANDA"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Style/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Layer&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Layer name="TAKSPRANG"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Style/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Layer&gt;<br>
..... <br>
<br>
<br>
Stefan Dalakov<br>
<br>
stoff wrote:</tt>
<blockquote cite="mid:1236078087041-2414541.post@n2.nabble.com"
 type="cite">
  <pre wrap=""><tt>Hi,

</tt>I have a new and an old problem :

First I am still looking for a solution about transparency 
Do I have to configure it in the layerdefinition.xml AND in the called URL(
... ?service=wms&amp;transparent=true)?

Second problem: 

Loading of the wms layer works fine. But in the legend.aspx
BuildLayerDeifinitionData-Function there is an encoding-problem in the row
"doc.LoadXML(layerDefString). He finds a char code 65279 as first Charakter
.... strange, because loading of the layerdefinition works fine, and there
is no charakter like this in the xml-file ...
Is there a posibility to use explicitly UTF-8 Encoding within the mapguide
resource-classes?  


Best regards,

Christoph


  </pre>
</blockquote>
<br>
</body>
</html>