Help on formatting xml document

Santosh Mohan santosh.mce at gmail.com
Mon Oct 4 08:03:44 CEST 2010


Hi,

Need help in formatting xml document using xml.doc.minidom


I have a raw xml output, I need to format the xml output and write it to a
file.


rawdata="""  <head> <body> <name>Santosh</name> <age>29</age>
<place>Bangalore</place> </body> </head>"""

I would appreciate your help.

Thanks,
Santosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101004/5120123f/attachment.html>


More information about the Python-list mailing list