RE: XSLT converts svg to shapes with basic transform handling.

2007-10-28 Thread Sam Liddicott
better to just wait till dia more fully supports xslt, I.e. The workaround is more work than the fix. Sam -Original Message- From: "Lars Clausen" <[EMAIL PROTECTED]> To: "discussions about usage and development of dia" Sent: 28/10/07 16:59 Subject: Re: XS

Re: XSLT converts svg to shapes with basic transform handling.

2007-10-28 Thread Lars Clausen
On Tue, 2007-07-17 at 15:12 +0100, Sam Liddicott wrote: > In fact here is a shape I produced of an Extreme Networks 15000 > Summit48. > I printed page 12 of the Summit Switch hardware installation guide to > file (postscript) and then converted that to svg with: > > pstoedit -f plot-svg /tmp/outp

RE: XSLT converts svg to shapes with basic transform handling.

2007-07-20 Thread Sam Liddicott
rt transforms in dia directly... Sam -Original Message- From: "Sam Liddicott" <[EMAIL PROTECTED]> To: "discussions about usage and development of dia" Sent: 17/07/07 15:12 Subject: Re: XSLT converts svg to shapes with basic transform handling. In fact here is a

XSLT converts svg to shapes with basic transform handling.

2007-07-17 Thread Sam Liddicott
This xslt converts svg to shapes and does basic transform handling. Skews and rotates are not handled but scales and offsets are. Transforms are not handled on groups, but any tag that has a @transform attribute will have scaling and offset applied to attributes x, x1, x2, y, y1, y2 and also to

RE: XSLT converts svg to shapes

2007-07-13 Thread Sam Liddicott
al Message- From: "Steffen Macke" <[EMAIL PROTECTED]> To: "discussions about usage and development of dia" Sent: 13/07/07 19:05 Subject: Re: XSLT converts svg to shapes Hi Sam, thanks a lot for these tools! I have to test them. Would it be possible to include them in t

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

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