<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ok it seems to be ok, my mapfile xml is valid and I can generate a
.map who work fine.<br>
I join my minimum mapfile.<br>
Thanks Alan<br>
<br>
Le 19/08/2011 15:34, Ludovic Granjon a écrit :
<blockquote cite="mid:4E4E665A.1060000@u-bourgogne.fr" type="cite">Yes
no problem
<br>
<a class="moz-txt-link-freetext" href="http://pastebin.com/fPz6qgXx">http://pastebin.com/fPz6qgXx</a>
<br>
Thanks
<br>
<br>
Le 19/08/2011 15:17, Alan Boudreault a écrit :
<br>
<blockquote type="cite">Paste your mapfile on pastebin.com if you
can.
<br>
<br>
Alan
<br>
<br>
On August 19, 2011 08:40:39 am Ludovic Granjon wrote:
<br>
<blockquote type="cite">Thanks Alan
<br>
<br>
Yes that's what I try to do but when I try to launch
xmlstarlet I always
<br>
have an invalid mapfile;
<br>
for exemple I join my mapfile
<br>
And the message of xmlstartlet is :
<br>
<br>
"mapfile-test_ludo.xml:69: element LayerSet: Schemas validity
error :
<br>
Element '{<a class="moz-txt-link-freetext" href="http://www.mapserver.org/mapserver">http://www.mapserver.org/mapserver</a>}LayerSet': This
element is
<br>
not expected. Expected is (
{<a class="moz-txt-link-freetext" href="http://www.mapserver.org/mapserver">http://www.mapserver.org/mapserver</a>}Web )."
<br>
<br>
If I delete the LayerSet bloc it's ok but it's annoying ...
<br>
<br>
If I try with my very little mapfile.map, it seems that it
always miss
<br>
some bloc so I must insert legend, scalebar, etc
<br>
<br>
Thanks for your help
<br>
<br>
Ludovic
<br>
<br>
Le 19/08/2011 14:20, Alan Boudreault a écrit :
<br>
<blockquote type="cite">IIRC, the mapfiles in svn were only to
test translation and loading. You
<br>
can take a small standard mapfile you have and write it in
xml. It
<br>
should be very straighforward and you can use the svn
mapfiles as
<br>
example.
<br>
<br>
Let me know if you need further help.
<br>
<br>
Alan
<br>
<br>
On August 19, 2011 07:42:17 am Ludovic Granjon wrote:
<br>
<blockquote type="cite">Hello
<br>
Someone is using mapfiles in xml?
<br>
I tried but it does not work, is there such a minimal
mapfile in xml to
<br>
try? Is there a documentation ? I tried unsuccessfully
<br>
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapserver/browser/trunk/mapserver/xmlmapfile">http://trac.osgeo.org/mapserver/browser/trunk/mapserver/xmlmapfile</a>
<br>
Thanks
<br>
<br>
Ludovic
<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
</body>
</html>