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 d, points. d, points are handled specially, the attribute value is split on white space and anything with a , in it is treated as an x-y pair, with the transform done on the x and y pair. Sam
Attachment:
shape2svg.xslt
Description: application/xml