Hi, In the OGC schema for WFS I can see that feature attributes are defined as <xs:element name
Element is described at http://www.w3schools.com/schema/el_element.asp as <element id=ID name=NCName Continue with NCName to http://stackoverflow.com/questions/1631396/what-is-an-xsncname-type-and-when-should-it-be-used "Practical restrictions of an NCName The practical restrictions of NCName are that it cannot contain several symbol characters like :, @, $, %, &, /, +, ,, ;, whitespace characters or different parenthesis. Furthermore an NCName cannot begin with a number, dot or minus character although they can appear later in an NCName." Conclusion: Space character is not allowed in the attribute name. You must use other means for styling the titles. -Jukka Rahkonen- > -----Alkuperäinen viesti----- > Lähettäjä: [email protected] > [mailto:[email protected]] Puolesta daz4805 > Lähetetty: 1. marraskuuta 2011 13:33 > Vastaanottaja: [email protected] > Aihe: [mapserver-users] Attributes with spaces in "gml_include_items"? > > Hi, > > I am very new to Mapserver work so please do bear with me. > > I am trying to amend a mapserver .map file to make available > some attribute > data from our database. > > At the moment, I am only able to make available attribute > columns that are > only one word like 'Name' for example. > > Is it possible to add in the gml_include_items section 'First > Name' for > example where there is a space between First and Name? > > I have done some digging looking for examples etc and people > are either only > using one word or are using underscores between words. What I > want is for it > to display on screen as First Name not FirstName or > First_Name or just Name. > > I have tried with single and double quotes etc but it just > ends up breaking > my identify tool in my mapping application. > > Any help very much appreciated. > > Thanks, > > Darren > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Attributes-with-spaces- > in-gml-include-items-tp6951338p6951338.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
