On Wed, 2013-08-21 at 12:34 -0400, heathenx wrote:
I have Illustrator CS4 installed on my Win7 box. If you set up layers or sub-layers in Inkscape and save it as the default svg file, you can just drop that into Illustrator and your layers will be present. However, Illustrator strips the layer names that one chooses in Inkscape. For instance, if one has a layer in Inkscape called "green" that layer name in Illustrator would be called "layer1". One would have to rename them. Still, the layer structure seems to be there. As far as I can tell, Illustrator must honor the svg2 group structure that Inkscape uses as layers...my guess anyway.
Illustrator is using the SVG "id" attribute for the group tag which Inkscape set to "layer1". The Inkscape name is in Inkscape's own namespace: "inkscape:label". I don't know why it was decided that Inkscape needed its own label. Using "id" would probably have been a better choice. (This isn't the only place this happens.)
Tav