title: how to return the class of an element in xpath?
body: <p>So I am successfully getting back some data with xpath about days of the month but I want to get the class of that column. For instance some days have the class "free" or "booked". How can I retrieve this in xpath?  </p>
  
  <pre><code>year1.append(tree.xpath('//*[@id="inhalt_fewo"]/div[15]/table[1]/tr['+month+']/td/text()'))
  </code></pre>