Hello, Before I resort to a regex, I figured I should ask here.
To find and remove possible duplicates, I need to turn each block into a single line:
FROM <wpt lat="46.98520" lon="6.8831"> <name>blah</name> </wpt> TO <wpt lat="46.98520" lon="6.8831"><name>blah</name></wpt> Do you know of a way to do this in lxml? Thank you. _______________________________________________ lxml - The Python XML Toolkit mailing list -- lxml@python.org To unsubscribe send an email to lxml-le...@python.org https://mail.python.org/mailman3/lists/lxml.python.org/ Member address: arch...@mail-archive.com