title: Parsing 'XML' with numbered items
body: <p>I've come across an 'XML' fragment that looks like this (indented and abbreviated - the <code>...</code> represent further tags):</p>
  
  <pre><code>&lt;items&gt;"Std Stability"
    &lt;items[1]&gt;
      &lt;id&gt;-2&lt;/id&gt;
      ...
    &lt;/items[1]&gt;
    &lt;items[2]&gt;
      &lt;id&gt;-5&lt;/id&gt;
    &lt;/items[2]&gt;
    ...
  &lt;/items&gt;
  </code></pre>
  
  <p>The <code>[1]</code> numbers are choking the parser I'm using (<a href="http://lxml.de/" rel="nofollow">lxml</a>). Is there some similar format where these are valid? Or will I have to write a custom parser to handle it?</p>
  
  <p>I don't have any control over the format, and the documentation doesn't actually describe or name the format.</p>