XSLT converts svg to shapes

2007-07-13 Thread Sam Liddicott
This xslt will convert inkscape's PLAIN svg files to dia shapes. xsltproc svg2shape.xslt --stringparam icon-file firewall.icon \ firewall.svg firewall.shape The attached bash script genshape will use inkscape to export the icon and the simple svg and converts this to the shape file all in

Re: XSLT converts svg to shapes

2007-07-13 Thread Steffen Macke
Hi Sam, thanks a lot for these tools! I have to test them. Would it be possible to include them in the Dia distribution (=put them under the GPL)? Maybe we can hook up the shape-svg thing with the XSLT plug-in. For the svg-shape way, we would need an XSLT-import plug-in. Or add it to the Sheets

RE: XSLT converts svg to shapes

2007-07-13 Thread Sam Liddicott
(Sorry about top quoting and other sins of Pocket Outlook). For sure. © 2007 Ufomechanic. Licensed under GPL 2 or later. If you use libxslt (part of gnome) it should work straight off. Sheets and object diaglog is better than an import plugin I think. I guess when and svg sheet is loaded it