title: Specific XML Parser to csv in Python
body: <p>I want to parse xml-files to a list and then transform this list into a csv file. The format of the xml looks the following. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;piadocument title="USPTO-Dokument #8,027,927" guid="111126b1-f927-9bd6-9024-d18a79aaa28e"&gt;   &lt;meta&gt;
  &lt;list name="Inventors"&gt;
  &lt;listitem&gt;Deeley, Simon;Bristol&lt;/listitem&gt;
  &lt;listitem&gt;, Stansfield, Anthony;Bristol&lt;/listitem&gt;
  &lt;/list&gt;
  &lt;list name="Claims"&gt;
  &lt;listitem&gt;1. An on-line system for printing ...&lt;/listitem&gt;
  &lt;listitem&gt;18. An on-line system for printing value bearing ...&lt;/listitem&gt;
  &lt;/list&gt;   
  &lt;/meta&gt;  
  &lt;chapters /&gt; 
  &lt;/piadocument&gt;
  </code></pre>
  
  <p>I am interested in the list name="Claims" and want to write each listitem in a separate row of my csv file.
  I am familiar with parsing xml files, but I dont know how to reach the type of list name.</p>
  
  <p>Edit: I looked again in my collection of xml-files and found out that the list name Claims does not have the attribute listitem solely. Therefore, I can not filter for listitem but need to specify the list name Claims. </p>
  
  <p>How can I accomplish that?</p>