From 9edfe06a3c532e4a0d95618469e4c87ab3a9c67a Mon Sep 17 00:00:00 2001 From: Roman Rolinsky Date: Mon, 9 Dec 2002 11:27:18 +0000 Subject: [PATCH] source moved to tree.py git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/tools/XRCed/myxml.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 wxPython/wxPython/tools/XRCed/myxml.py diff --git a/wxPython/wxPython/tools/XRCed/myxml.py b/wxPython/wxPython/tools/XRCed/myxml.py deleted file mode 100644 index de53dfca3f..0000000000 --- a/wxPython/wxPython/tools/XRCed/myxml.py +++ /dev/null @@ -1,19 +0,0 @@ -# Name: myxml.py -# Purpose: XRC editor, XML stuff -# Author: Roman Rolinsky -# Created: 15.10.2002 -# RCS-ID: $Id$ - -from xml.dom import minidom - -# Redefine writing to include encoding -class MyDocument(minidom.Document): - def __init__(self): - minidom.Document.__init__(self) - self.encoding = '' - def writexml(self, writer, indent="", addindent="", newl="", encoding=""): - if encoding: encdstr = 'encoding="%s"' % encoding - else: encdstr = '' - writer.write('\n' % encdstr) - for node in self.childNodes: - node.writexml(writer, indent, addindent, newl)