<p>I think the problem comes from the declaration of two namespace but there is no prefix for them, so using <code>//authors</code> will try to find it using the default namespace and so returning no result.</p>

<p>Try this :</p>

<pre><code>/OAI-PMH/ListRecords/record/metadata/arXivRaw/authors
</code></pre>
Xpath returns always null for arXiv metadata
<p>I'm currently trying to parse some data from the arXiv. I was able to get the data in the xml format, but now I can't select certain elements. </p>

<p>For example, I want to get all authors from this xml file</p>

<p><a href="http://export.arxiv.org/oai2?verb=ListRecords&amp;set=physics:hep-th&amp;from=2015-03-30&amp;until=2015-03-31&amp;metadataPrefix=arXivRaw" rel="nofollow">http://export.arxiv.org/oai2?verb=ListRecords&amp;set=physics:hep-th&amp;from=2015-03-30&amp;until=2015-03-31&amp;metadataPrefix=arXivRaw</a></p>

<p>The xpath query</p>

<pre><code>//authors
</code></pre>

<p>or similar queries always return zero. Any ideas how to solve this problem would be great </p>