[email protected] wrote:

Hi,
Is it possible to get the value of a record and put it in the header?
Here is an example of what I need to do
There are 3 elements in Quebec
1: blabla 1
2: blabla 2
3: blabla 3

Here is my template definition
Header
There are [nlr] elements in [provincename]

Template
[lrn]: [elementname]<br>

What I get is:
There are 3 elements in [provincename]
1: blabla 1
2: blabla 2
3: blabla 3

How can I get the [provincename] value in the header?


Steve,

You should be careful of string case. You should verify the case by using ogrinfo with the -summary switch to see what the correct name is:

   ogrinfo quebec.shp quebec -summary

The result may be [PROVINCENAME].

-jeff



--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to