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