Ticket #3528 (new feature)
GML.js modification to treat properly generic tag names
| Reported by: | docg | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | general | Version: | 2.11 |
| Keywords: | Cc: | ||
| State: |
Description
The GML.js parse the gml received.
In the gml file, tags can have a generic form, <Layer Name=mylayername> <Attribute Name=myfirstattributename>thecontent1</Attribute> <Attribute Name=mysecndattributename>thecontent2</Attribute> </Layer>
Currently, the code takes the name of the tag as the layer name and attributes names.
I propose in the attached file a modification, that conserve the current behaviour, except it will test for Layer name 'Layer' and replace it by the content of the attribute Name. The same behaviour is applied for the Attribute tag.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

