I would like to customize the KML that is exported from Geoserver (2.5). Specifically, I would like to add a "name" tag under the "Document" tag and add an arbitrary number of "Folder" and "name" tags. The reason for this is to provide a hierarchal structure when the KML file is represented in a table of contents tree.
For example, I would like to customize the exported KML file to contain:
<kml> <Document> <name>Great Places</name> <Folder> <name>Heaven</name> <Folder> <name>The Garden Of Earthy Delights</name> . . . </Folder> </Folder> </Document> </kml>
Right now I only get this:
<kml> <Document> <Folder> <name>...</name> . . . </Folder> </Document> </kml>
Can someone point me in the right direction?