You need to create the UTF8Encoding object with the parameter "false" (meaning disable BOM).

A slightly easier way to do this:
http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/CustomizedZoomWithWebLayout

Regards, Kenneth Skovhede, GEOGRAF A/S



euskalmap skrev:
Hi
I provide the end user with a link to my special page (see the code1). In
that page i redirect to the MapGuide viewer files (Response.Redirect).
code1:
http://n2.nabble.com/file/n2462320/sample1.jpg The fonction SetLayout Map modify the mapdefinition in my layout. See image
here :
http://n2.nabble.com/file/n2462320/sample2.jpg The problem : the layout is not modify and i have this message : An
exception occurred in the XML parser.
Have you an idea ?
Thanks

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to