Getting file url from XML file with Python

215 Views Asked by At

I'm trying to get a link from XML document I haven't worked with XML before but viewing the XML tree, the element: with xlink:href attribute

<media xlink:href="pone.0096102.s003.docx">
<caption>
<p>Click here for additional data file.</p>
</caption>
</media>

My Problem is the link isn't working or maybe I don't know xlink:href work. I want to use python requests to download the file.

0

There are 0 best solutions below