views:

175

answers:

2

I would like to edit SVG files using some scripting language (preferably Python). In particular, I would like to merge two SVG files, add some annotations, and arrange them in a larger image. Is there any software available for such purposes?

Thanks,

Bartosz

+2  A: 

you could use something like lxml - after all svg files are xml.

nosklo
+2  A: 

I don't know if you could do what you describe, but Inkscape supports some degree of scripting with Python.

Peter Hansen
this + SVGFig makes a pretty nice answer. http://code.google.com/p/svgfig/
Jason Orendorff