how to save xml (create with fuctions in xml.dom.minidom

sdf wqh-2 at 263.net
Wed Aug 1 11:48:01 CEST 2001


belowing  is example from document,but how to save newdoc to a file,
I use writexml,but failed.

from xml.dom.minidom import Document
newdoc = Document()
newel = newdoc.createElement("some_tag")
newdoc.appendChild(newel)

__________________________________________

DVD´óƬ£¬Ò»ÂÉ10Ôª  http://shopping.263.net/category02.htm
ÃÀÈÝÑøÑÕ¡¢¼õ·ÊÊÝÉíÃؾ÷  http://shopping.263.net/category10.htm








More information about the Python-list mailing list