title: How to add a CSS class to an XML item?
body: <p>Is it possible to add a CSS class to an item in a XML file? The reason for adding a class is because i want to be able to change the color of the item from the XML file by switching between 3 classes. So I would just style the 3 classes and then switch between them.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;?xml-stylesheet href="main.css" media="screen" type="text/css"?&gt;
     &lt;root&gt;
        &lt;item row="1" span="4" name="Develop"&gt;
           &lt;item name="Idea" row="2" classname="test"&gt;
               &lt;item shape="arrow" span="8" name="Project Management"&gt;&lt;/item&gt;
               &lt;item name="Concept, Technology &amp;amp; Layout"&gt;&lt;/item&gt;
               &lt;item name="Consent" span="6" shape="arrow"&gt;&lt;/item&gt;
               &lt;item shape="arrow" span="8" name="Engineering"&gt;&lt;/item&gt;
               &lt;item shape="arrow" name="Commercial"&gt;&lt;/item&gt;
               &lt;item name="Operation Preparation"&gt;&lt;/item&gt;
            &lt;/item&gt;
  </code></pre>