title: embed linked SVG images
body: <p>I have an SVG file that references lots of other, smaller, SVGs as sub images. Effectively, the main SVG is the template that positions all the other ones.</p>
  
  <p>I'd like to create a single image that I can pass on to people - i.e. a <a href="https://stackoverflow.com/questions/6249664/">data ref</a> or just inline inclusion -  but running the inkscape <code>Embed Images</code> extension results in the error "images are not of type PNG, JPEG, etc".</p>
  
  <p>So it sounds like the inkscape (v0.48.5) extension can only intern bitmap images, not SVGs. Bummer.</p>
  
  <p>My images are referenced from the master SVG like this</p>
  
  <pre><code>&lt;image id="PGDOWN_R1" x="1436.5"  y="280"  xlink:href="./symbols/PGDOWN_R3.svg"/&gt;
  </code></pre>
  
  <p>So how can I automatically intern/embed all my externally referenced SVGs? (non-inkscape CLI options are welcome too)</p>