[XML-SIG] Could somebody help me?

Prasad PS prasad_st at beceem.com
Fri Jan 28 10:12:32 CET 2005


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:morillas at posta.unizar.es] 
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 <prasad_st at beceem.com>:

> 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




More information about the XML-SIG mailing list