> On 09/07/2012 12:18, ml@... wrote:
> Inkscape internally always converts presentation attributes to CSS style
> properties. You can save a copy as 'Optimized SVG' which does offer
> 'Style to XML' among its many options.
> The file format 'Optimized SVG' is based on the python script 'scour'
>  and has been bundled with Inkscape since the initial release of
> Inkscape 0.47. Since Inkscape 0.48, various options of the script are
> presented in a custom 'Optimized SVG Output' dialog when saving as
> 'Optimized SVG'.
Damn. I am still using inkscape 0.46.
But thanks for the hint on scour. I thinks it will be enough to utilize
this tool after modifying a file with inkscape.