On 2/23/07, singlecell <singlecell@...> wrote:
> 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)?
I have a simple XSLT stylesheet which breaks monolithic style= into
style attributes. Worked fine for me. So here's a question for
developers: I heard we can use XSLT as input/output filters? If so,
adding an output format that filters SVG through such a filter would
> 2 - should Inkscape treat script element as CDATA, as it currently
> treats it as a text node and replaces " with " etc.
And it also loses script attributes (at least from root svg) when
saving as Plain SVG. Could you please file bugs on these problems so
they are not forgotten?
Inkscape. Draw Freely.
Get latest updates about Open Source Projects, Conferences and News.