Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: lxml saves empty tags with None text
Post: lxml saves empty tags with None text

I am modifying an XML file to change , into <,> (&lt;,&gt;). However when I find an empty element, it returns None. My original XML value would be something like: Output:<element Sour...
urano1981 General Coding Help 0 4,700 Oct-23-2017, 11:45 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020