title: Use Xpath with pandas read_xml python
body: <p>I want to import all information about the supported Xep's from the .doap files and return them as dataframe. Therefore I tried to use pandas.read_xml().</p>
  <pre><code>#python
  import pandas as pd
  
  
  Clients={&quot;Monal&quot;:&quot;https://raw.githubusercontent.com/monal-im/Monal/develop/monal.doap&quot;, # works as espected
          &quot;Profanity&quot;:&quot;https://raw.githubusercontent.com/profanity-im/profanity/master/profanity.doap&quot;, #error
         &quot;Dino&quot;:&quot;https://raw.githubusercontent.com/dino/dino/master/dino.doap&quot;  #handle multiple languages
          #... more listed Clients
          }
  
  namespaces={&quot;default&quot;:&quot;http://usefulinc.com/ns/doap#&quot;,
      &quot;rdf&quot;:&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;,
      &quot;xmpp&quot;:&quot;https://linkmauve.fr/ns/xmpp-doap#&quot;,
      &quot;schema&quot;:&quot;https://schema.org&quot;,
      &quot;xml&quot;:&quot;http://www.w3.org/XML/1998/namespace&quot;,
      &quot;foaf&quot;:&quot;http://xmlns.com/foaf/0.1/&quot;}
  
  for i in Clients.keys():
      liste = pd.read_xml(Clients[i]).transpose() # works without problem
      xep = pd.read_xml(Clients[i], xpath=&quot;.//xmpp:xep&quot;,namespaces=namespaces)
      Features = pd.read_xml(Clients[i], xpath=&quot;.//xmpp:SupportedXep&quot;,namespaces=namespaces)
      Features['xep_URL']=xep['resource']
  
  </code></pre>
  <p>Is it possible to get only one language (when I import Dino, the last language remains)?</p>
  <pre><code>...
              output:          needed output (xml:lang='en'):
  ...
  name        Dino             Dino
  shortdesc   تطبيق حديث للدرد Modern XMPP Chat Client...
  description إنّ Dino برنامج   Dino is a modern open-...
  </code></pre>
  <p>And how do I fix the error which occurs when the Profanity .doap file is imported and make it reliable for new unexpected Namespaceprefixes?</p>
  <pre><code>Namespace prefix foaf on Person is not defined
  </code></pre>