On Fri, 28 Mar 2008 10:32:44 -0400, Phil Christensen firstname.lastname@example.org wrote:
On Mar 28, 2008, at 7:44 AM, Raj kumar wrote:
Hi, I have an xml file in my application, I have created an element using Example goes like this.........
document.createElement("abc") and i appeneded it by using append() method. But how i can reflect this change to my xml file? and one more thing is i want to create element with some other parameters.... like..............
<abc m=" " n=" "> </abc> and i have m and n values as strings with me.. can anybody help me to create this element and write it to the existing xml file as a child of an existing element?
It sounds like you're working with t.w.microdom.
If so, stop.
Don't use twisted.web.microdom. There are plenty of better XML libraries for Python.