Re: Inserting an element into existing xml file

2007-09-26 Thread Fredrik Lundh
Anand wrote: I'm Afraid to say, I can't use lxml or elementTree as it requires many legal approvals and there is high chances of not getting it through. So Do you have any other method / idea just by using plain 2.4 to accomplish the task Are you allowed to use code samples you found on the

Inserting an element into existing xml file

2007-09-25 Thread Anand
Hi, I'm new to Python. we are using python2.4. I wanted to insert an element into an existing xml file. Can anyone help me with this? I've seen lxml and elementTree in python2.5 has some API's to insert into existing xml file. We cant use python 2.5 due to some limitations. So how can we do it

Re: Inserting an element into existing xml file

2007-09-25 Thread Stefan Behnel
Anand wrote: I'm new to Python. we are using python2.4. I wanted to insert an element into an existing xml file. Can anyone help me with this? I've seen lxml and elementTree in python2.5 has some API's to insert into existing xml file. We cant use python 2.5 due to some limitations. So how

Re: Inserting an element into existing xml file

2007-09-25 Thread Anand
On Sep 25, 3:20 pm, Stefan Behnel [EMAIL PROTECTED] wrote: Anand wrote: I'm new to Python. we are using python2.4. I wanted to insert an element into an existing xml file. Can anyone help me with this? I've seen lxml and elementTree in python2.5 has some API's to insert into existing

Re: Inserting an element into existing xml file

2007-09-25 Thread Marc 'BlackJack' Rintsch
On Tue, 25 Sep 2007 03:30:05 -0700, Anand wrote: I'm Afraid to say, I can't use lxml or elementTree as it requires many legal approvals and there is high chances of not getting it through. In what environment is it hard to get something BSD licensed through!? Ciao, Marc 'BlackJack'