On 2014-01-24, Tharanga Abeyseela 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
manged to fix it. need to add the namespace when checking the condition.
Thanks
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
I have the following xml,a nd i need to add Description element if it is
not present.
xxxXWorld's
Fastest Indian, The
xxxThe World's Fastest
Indian The World's Fastest Indian
World's Fastest Indian,
The
here is my function.
def insert_description(root,type):
for child in root.finda