title: Reading a template and creating a new XML file using the read template
body: <p>I'm attempting to read a XML template, code below, and put this content to a new XML file. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Format&gt;
  &lt;Name title=""&gt;&lt;/Name&gt;
  &lt;FormatA&gt;
      &lt;Scheme name="A" set="number" get="integer"&gt;
          &lt;Sample set="number" get="integer"&gt;33&lt;/Sample&gt;
      &lt;/Scheme&gt;
  &lt;/FormatA&gt;
  &lt;FormatX&gt;
      &lt;Scheme name="A" set="number" get="integer"&gt;
          &lt;Sample set="number" get="integer"&gt;44&lt;/Sample&gt;
      &lt;/Scheme&gt;
  &lt;/FormatX&gt;
  &lt;/Format&gt;
  </code></pre>
  
  <p>And will input values and write the title and a value for name. e.g When I enter "Counter" for the title and "Cnt" for the value. It will write</p>
  
  <pre><code>&lt;Name title="Counter"&gt;Cnt&lt;/Name&gt;
  </code></pre>
  
  <p>Basically, I'll just copy the contents of the template, put it in the new XML file with the inputted title and value.</p>
  
  <p>Thank you for reading and who will answer my inquiry.</p>