title: Read all tags and values from XML android java
body: <p>I have been searching for reading XML tags and its values, what i can find is read the values using tag names, but without knowing the tag names is it possible to read all values, if so please explain me </p>
  
  <p><strong>SAMPLE XML</strong></p>
  
  <pre><code>&lt;menu&gt;
          &lt;item&gt;
              &lt;id&gt;1&lt;/id&gt;    
              &lt;name&gt;test1&lt;/name&gt;
              &lt;cost&gt;155&lt;/cost&gt;
              &lt;description&gt;Single&lt;/description&gt;
          &lt;/item&gt; 
          &lt;item&gt;
              &lt;id&gt;2&lt;/id&gt;    
              &lt;name&gt;test2&lt;/name&gt;
              &lt;cost&gt;225&lt;/cost&gt;
              &lt;description&gt;double&lt;/description&gt;
          &lt;/item&gt; 
          &lt;item&gt;
              &lt;id&gt;3&lt;/id&gt;    
              &lt;name&gt;test3&lt;/name&gt;
              &lt;cost&gt;110&lt;/cost&gt;
              &lt;description&gt;long&lt;/description&gt;
          &lt;/item&gt; 
          &lt;item&gt;
              &lt;id&gt;4&lt;/id&gt;    
              &lt;name&gt;test4&lt;/name&gt;
              &lt;cost&gt;155&lt;/cost&gt;
              &lt;description&gt;float&lt;/description&gt;
          &lt;/item&gt; 
          &lt;item&gt;
              &lt;id&gt;5&lt;/id&gt;    
              &lt;name&gt;test5&lt;/name&gt;
              &lt;cost&gt;445&lt;/cost&gt;
              &lt;description&gt;integer&lt;/description&gt;
          &lt;/item&gt; 
  
  &lt;/menu&gt;
  </code></pre>