Re: [Geoserver-users] Mapping Database Fields to XML Attributes

2017-10-20 Thread Gavin Medley
Great! Thank you Ben. -Gavin On Fri, Oct 20, 2017 at 2:30 PM, Ben Caradoc-Davies wrote: > Gavin, > > the content of the tag is a bare CQL expression without any other > XML expressions. Please try this: > > > codeListValue > country > > > If you need to manipulate

Re: [Geoserver-users] Mapping Database Fields to XML Attributes

2017-10-20 Thread Ben Caradoc-Davies
Gavin, the content of the tag is a bare CQL expression without any other XML expressions. Please try this: codeListValue country If you need to manipulate the string, you can use CQL. Literal strings need to be in CQL form, that is, surrounded by single quotes ('). Kind

[Geoserver-users] Mapping Database Fields to XML Attributes

2017-10-20 Thread Gavin Medley
Hi all, I’m sure this is possible but I can’t figure out the syntax to put in my mapping file. I need to map a field in my database, country to be an attribute value codeListValue I think my should be something like the following but the attribute just doesn’t appear at all in my WFS requests.