title: How to get a xml element value in tcl?
body: <p>Trying to get the value of an element to a tcl variable
  sample stats.xml file</p>
  
  <pre><code>&lt;account&gt;
      &lt;name&gt;abc&lt;/name&gt;
      &lt;number&gt;1224.3414&lt;/number&gt;
  &lt;/account&gt;
  </code></pre>
  
  <p>In the above case trying to extract only one element value either name or number</p>
  
  <pre><code>set value
  regexp "&lt;$number&gt;(.*?)&lt;/number&gt;" stats.xml value
  </code></pre>