Hi, On Thu, Nov 17, 2011 at 7:27 PM, Gora Mohanty <[email protected]> wrote: > On Thu, Nov 17, 2011 at 4:47 PM, Balachandran Sivakumar > <[email protected]> wrote: > > To update an element, just assign a value to it, e.g., > myelem.text = "New value" > You can then save the modified XML to a new file. > Please see http://infohost.nmt.edu/tcc/help/pubs/pylxml/web/modifying.html > Thanks for the info and the link.
> That same tutorial, > http://infohost.nmt.edu/tcc/help/pubs/pylxml/web/index.html , > also describes various ways of addressing elements. This is also a useful > tutorial: http://lxml.de/tutorial.html > I used the lxml.de tutorial in that link. But was not aware the it gets updated in place. So, was expecting some method to do that :( Thanks -- Thank you Balachandran Sivakumar Arise Awake and stop not till the goal is reached. - Swami Vivekananda Mail: [email protected] Blog: http://benignbala.wordpress.com/ _______________________________________________ BangPypers mailing list [email protected] http://mail.python.org/mailman/listinfo/bangpypers
