Hi Luis,
 I too have followed the second choice but what happened was, when I add
the root document to the xml file, I find the previous content and the
combination of the previous and the new content in the file and moreover
xml declarator is appearing twice.
 Thanks for your prompt reply.
Prasad.p.s.

-----Original Message-----
From: Luis Miguel Morillas [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 28, 2005 2:37 PM
To: Prasad PS
Cc: XML-SIG
Subject: Re: [XML-SIG] Could somebody help me?

Mensaje citado por Prasad PS <[EMAIL PROTECTED]>:

> Hi,
>  I have an xml file. Now I want to add a node to the existing xml
file.
> How can I do this using Python?
>  I would appreciate if someone could help me in doing this.
> With regards,
> Prasad.p.s. 
> 

It's easy. You can use python xml dom [1] or in a more pythonic way I
prefer
amara [2]


Greetings,

[1] http://pyxml.sourceforge.net/topics/howto/node21.html
[2] http://uche.ogbuji.net/uche.ogbuji.net/tech/4Suite/amara/manual.html


-- 

Luis Miguel


_______________________________________________
XML-SIG maillist  -  XML-SIG@python.org
http://mail.python.org/mailman/listinfo/xml-sig

Reply via email to