Which version of MapServer? Template certainly looks ok. What happens if you pull the closing feature tag up like so:
},[/feature] Steve On Tue, Sep 27, 2011 at 6:15 PM, jjwang <[email protected]> wrote: > This is my template file. > The *trimlast=','* statement doesn't work. > Any idea on this? > > // mapserver template > [resultset layer=pd] > [ > [feature trimlast=','] > { > "id": "[id]", > "description": "[description]", > "venue": "[venue]", > "year": "[year]" > }, > [/feature] > ] > [/resultset] > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/output-template-trimlast-doesn-t-work-tp6838218p6838218.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
