title: download the svg file from DOM or from Object element
body: <p>I want to download/save .svg from the DOM. I have embedded my svg file in Object element and updating dynamically some of the elements inside SVG and styling it in my Angular 7 application. </p>
  
  <pre><code>&lt;object id="svg1" data="assets/10026_019.svg" type="image/svg+xml" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;&lt;/object&gt;
       &lt;button (click)="downloadSVG()"&gt;Download SVG file&lt;/button&gt;
  </code></pre>
  
  <p>After updating SVG I need to download/save the entire svg contnet in .svg file. or any other alternate options availble for to download updated svg file?</p>