Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64685

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

From Neil Cerutti <neilc@norwich.edu>
Subject Re: Elementree and insert new element if it is not present - FIXED
Date 2014-01-24 14:12 +0000
Organization Norwich University
References <CAOMTrfewxtpdBGxiiWC9UDEroAuOge1mLoMCZQ02ziZWPBv_PQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5943.1390572775.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 2014-01-24, Tharanga Abeyseela <tharanga.abeyseela@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Elementree and insert new element if it is not present - FIXED Neil Cerutti <neilc@norwich.edu> - 2014-01-24 14:12 +0000

csiph-web