00001
00002
00003 class XmlFile:
00004 def __init__(self,bare=False,objects=[],external_entities=[]):
00005 self.bare = bare
00006 self.objects = objects
00007 self.external_entities = external_entities
00008 return
00009
00010 def warning():
00011 return '''
00012 <!--
00013
00014 Warning: this is a generated file. Any direct modifications may be lost.
00015
00016 -->
00017 '''
00018
00019
00020 def xml(self,fo,pre):
00021
00022 return
00023
00024 def write(self,filename):
00025 file = open(filename,"w")
00026 self.xml(file,'')
00027 file.close()
00028 return
00029
00030
00031