title: How to read XML file into two dimensional array using Java
body: <p>How to read XML file into two dimensional array using java. I am new to this concept. Please suggest to me any ideas and suggest any websites and examples regarding this question.</p>
  
  <p>My 2-D xml file will look like this:</p>
  
  <pre><code>&lt;Base&gt;
      &lt;Map&gt;
          &lt;Display&gt;0B85&lt;/Display&gt;
          &lt;Keys&gt;61&lt;/Keys&gt;
      &lt;/Map&gt;
      &lt;Map&gt;
          &lt;Display&gt;0B86&lt;/Display&gt;
          &lt;Keys&gt;62&lt;/Keys&gt;
      &lt;/Map&gt;
  &lt;/Base&gt;
  </code></pre>
  
  <p>I want to read this xml file into a two-dimensional array. Suppose I have an array xml[10][40]. In this array I want to display as xml[0][0]=character and xml[0][1]=keys using java program. Please suggest any idea.</p>