title: getting the class name of an HTML tag using XPATH
body: <p>Suppose we have this span tag <code>&lt;span class="my-FAV_numberis49"&gt;&lt;/span&gt;</code> enclosed in a complicated document like this:</p>
  
  <pre><code>&lt;div id="box_content"&gt;
      &lt;div class="heading"&gt;
          Description
      &lt;/div&gt;
      Really cool description about something really cool.
      &lt;br&gt;
  
      &lt;div class="more_detail"&gt;
  
      &lt;/div&gt;
      &lt;div class="more_detail"&gt;
          &lt;span class="date"&gt;Today's Date is&lt;/span&gt;June 06 2014
      &lt;/div&gt;
      &lt;span class="my-FAV_numberis49"&gt;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I save the name of the <code>span</code> class only(i.e. "<code>my-FAV_numberis49</code>") Let us assume that the format of the document will be unchanged, but the <code>span</code> class name can change to something like "<code>my-FAV_numberis7</code>". Is there a way to do this? </p>
  
  <p>I hope my question is clear. Thank you for your assistance. </p>