SVG IDs don't match layer names
Bug #243383 reported by
Bastien Nocera
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
When exporting to SVG, or saving to Inkscape SVG, the IDs of the different layers bears no resemblance to the layer names saved.
This makes it hard to modify SVGs that will then be processed programatically, as one needs to change the IDs by hand after editing the file.
I would also like to be able to programatically pick out layers from a document by ID. While the "inkscape:label" tag gets saved with the name when saving to Inkscape SVG it seems that the layer name (or a calculable similar name) should also be stored to the "id" tag for plain SVG documents.