<?xml  version="1.0" ?><html>
<head>
<title></title>
</head>
<body>
<div align="left"><font face="Arial"><span style="font-size:10pt">Hi all,</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">i am trying to label a layer i have defined in my map file, it is a point shapefile layer, the 
SLD i am using is as follows:</span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt"><StyledLayerDescriptor></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                <NamedLayer></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                <Name>hojas_label</Name></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                <UserStyle></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                    
<Name>default:hojas_label:COD10000</Name></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                    
<IsDefault>1</IsDefault></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                    
<FeatureTypeStyle></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                    
<Rule></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                <Name>labels</Name></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                <TextSymbolizer></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                    
<Label></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                <ogc:PropertyName>HOJAS10_ID
</ogc:PropertyName></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                    
</Label></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                <Font></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                <CssParameter 
name="font-family">Serif</CssParameter></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                <CssParameter 
name="font-style">normal</CssParameter></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                <CssParameter 
name="font-weight">normal</CssParameter></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                <CssParameter 
name="font-size">12</CssParameter></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                <CssParameter 
name="font-color">#000000</CssParameter></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                </Font>                                                   </span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                    
<LabelPlacement>                                                                  </span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                                <LinePlacement></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                                <PerpendicularOffset>above</PerpendicularOffset></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                                <LineWidth>2.5</LineWidth></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                                <Gap>5</Gap></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                                </LinePlacement></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                                    
</LabelPlacement></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                                </TextSymbolizer></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                    
</Rule></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                    
</FeatureTypeStyle></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                                </UserStyle></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">                </NamedLayer></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt"></StyledLayerDescriptor></span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">When i request a GetMap with this layer and using this SLD i get the message from 
Mapserver:</span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt"><ServiceExceptionReport version="1.1.1"></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt"><ServiceException></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">msDrawMap(): Image handling error. Failed to draw layer named 'hojas_label'.</span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt">msDBFGetItemIndex(): DBASE file error. Item 'PropertyName' not found.</span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt"></ServiceException></span></font></div>
<div align="left"><font face="Arial" color="#7f007f" size="1"><span style="font-size:8pt"></ServiceExceptionReport></span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">i´ve checked out the name of the field i want to label, and it is correct, actually i did try 
with all the fields and i have the same problem, the layer is good as well because i can 
visualize it if i just don't use this SLD....</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Any ideas?</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">thanks in advance,</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Laura</span></font></div>
</body>
</html>