Doc talk:Svg2synfig

From Synfig Studio :: Documentation
Revision as of 19:41, 14 March 2008 by Hungerburg (Talk | contribs) (not working example on Linux system)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I fail to get the transform working. This is on a current debian-unstable system with Saxon 9.0.0.1J from Saxonica. The command saxonb-xslt -ext:on -xsl:svg2synfig.xsl Zeichnung.svg will output an empty sif. Input contains below code, which should contain only supported paths, doesnt it?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   version="1.0"
   width="100"
   height="100"
   id="svg">
  <defs
     id="defs" />
  <g
     id="layer">
    <path
       d="M 50,75 C 0,100 0,0 50,25 C 100,0 100,100 50,75 z "
       style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       id="path" />
  </g>
</svg>