Elementree and insert new element if it is not present - FIXED

Neil Cerutti neilc at norwich.edu
Fri Jan 24 09:12:25 EST 2014


On 2014-01-24, Tharanga Abeyseela <tharanga.abeyseela at gmail.com> wrote:
> manged to fix it. need to add the namespace when checking the
> condition.

I wish there was a rule that if your xml doesn't need a namespace
it doesn't use one. They are a pain when there's just one useless
namespace.

But maybe I'm just naive.

-- 
Neil Cerutti




More information about the Python-list mailing list