Your URL should have &SLD= before the sld URL.<br><br>Best regards,<br>Bart<br><br><div class="gmail_quote">On Feb 6, 2008 11:36 AM, Gregorio Muņoz <<a href="mailto:gregoavila@gmail.com">gregoavila@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello!<br><br>I am working with SLD but can not make it work.<br><br>This my url:<br><a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/urbanismo/maps/mymap.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=Recintos&SRS=EPSG:23030&BBOX=235455.57724245856,4140286.563575713,240403.0990635437,4144581.824219214&WIDTH=500&HEIGHT=400&FORMAT=image/png&STYLES=default&TRANSPARENT=TRUE&http://127.0.0.1/ms4w/apps/urbanismo/sld/recintos.sld" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/urbanismo/maps/mymap.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=Recintos&SRS=EPSG:23030&BBOX=235455.57724245856,4140286.563575713,240403.0990635437,4144581.824219214&WIDTH=500&HEIGHT=400&FORMAT=image/png&STYLES=default&TRANSPARENT=TRUE&http://127.0.0.1/ms4w/apps/urbanismo/sld/recintos.sld</a><br>

<br>And this is my SLD document "recintos.sld":<br><br><?xml version="1.0" encoding="utf-8" standalone="no"?><br><!-- $Id: recintos.sld,v 1.2 2006/10/05 19:20:48 tkralidi Exp $ --><br>

<StyledLayerDescriptor  version="1.0.0"<br>            xmlns="<a href="http://www.opengis.net/sld" target="_blank">http://www.opengis.net/sld</a>"<br>            xmlns:ogc="<a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a>"<br>

            xmlns:xlink="<a href="http://www.w3.org/1999/xlink" target="_blank">http://www.w3.org/1999/xlink</a>"<br>            xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"<br>

            xsi:schemaLocation="<a href="http://www.opengis.net/sld" target="_blank">http://www.opengis.net/sld</a> <a href="http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" target="_blank">http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd</a>"><br>

    <Name>urbanismo</Name><br>     <Title>SLD for MapServer OGC Web Services Workshop</Title><br>    <Abstract>This is an SLD to show how one can make a custom style without having to change the data style at the server-side</Abstract><br>

    <NamedLayer><br>        <Name>Recintos</Name><br>        <UserStyle><br>            <Name>sld_01</Name><br>            <Title>sld_01</Title><br>            <IsDefault>1</IsDefault><br>

            <FeatureTypeStyle><br>                <Rule><br>                    <LineSymbolizer><br>                        <Stroke><br>                            <CssParameter name="stroke">#FF00FF</CssParameter><br>

                            <CssParameter name="stroke-width">3</CssParameter><br>                        </Stroke><br>                    </LineSymbolizer><br>                </Rule><br>

            </FeatureTypeStyle><br>        </UserStyle><br>    </NamedLayer><br></StyledLayerDescriptor><br><br>In my map file "mymap.map" there is a layer called "Recintos" (TYPE LINE).<br>

<br>    <br>Does anyone know why it does not work?<br><br>Any idea please?<br><br>Thanks!
</blockquote></div><br>