[docs] how to transfer a xml format file to txt format

李英 jhyingli at mail.ustc.edu.cn
Tue Apr 8 16:02:16 CEST 2014


Hi, here I want to extrat the flag of a xml file, to transfer to a txt file
Such as:

<html>
    <head>
        <title>Example page</title>
    </head>
    <body>
        <p>Moved to <a href="http://example.org/">example.org</a>
        or <a href="http://example.com/">example.com</a>.</p>
    </body>
</html>

To:
Example page
Moved to example.org or example.com

with Python xml,how to do ? Thanks!
--
Regards
Ying Li


More information about the docs mailing list