export as xml

Post questions on how to use or achieve an effect in Inkscape.
hoshi411
Posts: 4
Joined: Sat Jun 12, 2010 2:43 am

export as xml

Postby hoshi411 » Sat Jun 12, 2010 2:52 am

Is there any way to export or convert an inkscape svg as the kind of svg found in the.html"codebox">

Code: Select all

inkscape:window-height="671"
     inkscape:window-width="915"
     inkscape:pageshadow="2"
     inkscape:pageopacity="0.0"
     guidetolerance="10.0"
     gridtolerance="10.0"
     objecttolerance="10.0"
     borderopacity="1.0"
     bordercolor="#666666"
     pagecolor="#ffffff"
     id="base"
     showgrid="false"
     inkscape:zoom="0.78834696"
     inkscape:cx="288.29"
     inkscape:cy="353.08776"
     inkscape:window-x="300"
     inkscape:window-y="35"
     inkscape:current-layer="layer1" /><g
     inkscape:groupmode="layer"
     id="layer1"
     inkscape:label="bird"><path
       d="M 370.25217,210.5122 C 340.39254,220.33946 314.75046,218.32043 293.13547,221.69689 C 314.40622,216.06579 346.74874,210.55491 365.37057,185.56346 C 314.38668,211.5974 224.35373,213.76659



into this kind of svg

Code: Select all

<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">

<circle cx="100" cy="50" r="40" stroke="black"
stroke-width="2" fill="red"/>

</svg>




One seems to have a whole bunch of "inkscape:zoom" etc kind of attributes that don't seem to be web friendly.