39 |
39 |
40 self.writeDTD('<!DOCTYPE Templates SYSTEM "Templates-{0}.dtd">'.format( |
40 self.writeDTD('<!DOCTYPE Templates SYSTEM "Templates-{0}.dtd">'.format( |
41 templatesFileFormatVersion)) |
41 templatesFileFormatVersion)) |
42 |
42 |
43 # add some generation comments |
43 # add some generation comments |
44 self.writeComment(" eric5 templates file ") |
44 self.writeComment(" eric6 templates file ") |
45 self.writeComment( |
45 self.writeComment( |
46 " Saved: {0} ".format(time.strftime('%Y-%m-%d, %H:%M:%S'))) |
46 " Saved: {0} ".format(time.strftime('%Y-%m-%d, %H:%M:%S'))) |
47 |
47 |
48 # add the main tag |
48 # add the main tag |
49 self.writeStartElement("Templates") |
49 self.writeStartElement("Templates") |