Hi,
Not sure if I should be bothering this list with this, but it may also be functionality currently missing from Inkscape (?)
I'm using Inkscape to create interactive SVG drawings that allow the viewer colour in the picture, painting by numbers style (I've attached a simple test svg as an example).
The (minor) problems encountered so far are:
1 - Inkscape uses the style attribute on each element to set the fill colour, and I have to manually go through each element changing them for my script code to work. Manipulating the style attribute in code would require parsing to preservation all the other style definitions.
Is there any way to force inkscape to save style attributes of drawing elements as separate elements (as I have altered in the attached example)?
2 - should Inkscape treat script element as CDATA, as it currently treats it as a text node and replaces " with " etc.