mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
7 lines
259 B
Python
7 lines
259 B
Python
|
|
doc = wx.xml.XmlDocument()
|
|
doc.Load("myfile.xml", "UTF-8", wx.xml.XMLDOC_KEEP_WHITESPACE_NODES)
|
|
|
|
# myfile2.xml will be identical to myfile.xml saving it self way:
|
|
doc.Save("myfile2.xml", wx.xml.XML_NO_INDENTATION)
|