title: Inkscape doesn't save correct xaml
body: <p>I have a svg that I open in Inkscape and save as xaml. When I look at the xaml I see, that the xaml is missing some elements. Is there a way to save this file correct to xaml? Or is there a way in Inkscape to modify the elements in such way that the error doesn't occure?</p>
  
  <p>Here is my svg:</p>
  
  <pre><code>&lt;svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="480" width="640" viewBox="0 0 640 480"&gt;
    &lt;defs&gt;
      &lt;path id="a" fill="#ffde00" d="M-.588.81L0-1 .588.81-.952-.31H.952z"/&gt;
    &lt;/defs&gt;
    &lt;path d="M0 0h640v480H0z" fill="#de2910"/&gt;
    &lt;use xlink:href="#a" transform="matrix(71.9991 0 0 72 119.999 120)" width="30" height="20"/&gt;
    &lt;use xlink:href="#a" transform="matrix(-12.33562 -20.5871 20.58684 -12.33577 240.291 47.996)" width="30" height="20"/&gt;
    &lt;use xlink:href="#a" transform="matrix(-3.38573 -23.75998 23.75968 -3.38578 287.95 95.796)" width="30" height="20"/&gt;
    &lt;use xlink:href="#a" transform="matrix(6.5991 -23.0749 23.0746 6.59919 287.959 168.012)" width="30" height="20"/&gt;
    &lt;use xlink:href="#a" transform="matrix(14.9991 -18.73557 18.73533 14.99929 239.933 216.054)" width="30" height="20"/&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p>And here the resulting xaml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!--This file is NOT compatible with Silverlight--&gt;
  &lt;Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Stretch="Uniform"&gt;
    &lt;Canvas Name="svg17" Width="640" Height="480"&gt;
      &lt;Canvas.RenderTransform&gt;
        &lt;TranslateTransform X="0" Y="0"/&gt;
      &lt;/Canvas.RenderTransform&gt;
      &lt;Canvas.Resources&gt;
        &lt;Path xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="a" Fill="#FFFFDE00" x:Key="a"&gt;
          &lt;Path.Data&gt;
            &lt;PathGeometry Figures="M-.588.81L0-1 .588.81-.952-.31H.952z" FillRule="NonZero"/&gt;
          &lt;/Path.Data&gt;
        &lt;/Path&gt;
      &lt;/Canvas.Resources&gt;
      &lt;!--Unknown tag: metadata--&gt;
      &lt;!--Unknown tag: sodipodi:namedview--&gt;
      &lt;Path xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="path5" Fill="#FFDE2910"&gt;
        &lt;Path.Data&gt;
          &lt;PathGeometry Figures="M0 0h640v480H0z" FillRule="NonZero"/&gt;
        &lt;/Path.Data&gt;
      &lt;/Path&gt;
    &lt;/Canvas&gt;
  &lt;/Viewbox&gt;
  </code></pre>
  
  <p>You can see that there are 5 xlink:href which are missing in the output.</p>