title: Qt - Configuring interface through xml
body: <p>I have a local xml file telling me:</p>
  
  <ul>
  <li>how many "swiping" pages my interface must have</li>
  <li>for any page, how many rows</li>
  <li>for any row, how many columns
  (any column will contain a label and a value which depend on the attributes that you find between the nodes )</li>
  </ul>
  
  <p>This is a template:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;parameters version="2.0"&gt;
        &lt;page pageNum = "2"&gt;
             &lt;row colNum = "1"&gt;
                  &lt;column&gt;
                       &lt;id&gt;00001&lt;/id&gt;
                       &lt;name&gt;parameterName&lt;/name&gt;
                       &lt;type&gt;parameterType&lt;/type&gt;
                       &lt;value&gt;parameterValue&lt;/value&gt;
                       &lt;min&gt;0&lt;/min&gt;
                       &lt;max&gt;100&lt;/max&gt;
                       &lt;step&gt;1&lt;/step&gt;
                  &lt;/column&gt;
             &lt;/row&gt;
             &lt;row colNum = "2"&gt;
                  &lt;column&gt;
                       &lt;id&gt;00002&lt;/id&gt;
                       &lt;name&gt;parameterName&lt;/name&gt;
                       &lt;type&gt;parameterType&lt;/type&gt;
                       &lt;value&gt;parameterValue&lt;/value&gt;
                       &lt;min&gt;0&lt;/min&gt;
                       &lt;max&gt;100&lt;/max&gt;
                       &lt;step&gt;1&lt;/step&gt;
                  &lt;/column&gt;
                  &lt;column&gt;
                       &lt;id&gt;00003&lt;/id&gt;
                       &lt;name&gt;parameterName&lt;/name&gt;
                       &lt;type&gt;parameterType&lt;/type&gt;
                       &lt;value&gt;parameterValue&lt;/value&gt;
                       &lt;min&gt;0&lt;/min&gt;
                       &lt;max&gt;100&lt;/max&gt;
                       &lt;step&gt;1&lt;/step&gt;
                  &lt;/column&gt;
             &lt;/row&gt;
        &lt;/page&gt;
        &lt;page&gt;
             &lt;!-- ... etc ... --&gt;
        &lt;/page&gt;
   &lt;/parameters&gt;
  </code></pre>
  
  <p>After some research I've found in some forums that XmlListModel is not suitable.
  How can I do, considering that I am working in Qt?</p>
  
  <p>Here <a href="https://lists.launchpad.net/ubuntu-phone/msg12284.html" rel="nofollow noreferrer">https://lists.launchpad.net/ubuntu-phone/msg12284.html</a> I found something interesting, however for reading the xml file is used XMLHttpRequest, which I can't use, as my xml file is just local!</p>
  
  <p>Can someone help me?</p>
  
  <p>Thank you so much!</p>