Added <!DOCTYPE...> for the gramps.dtd to the generated XML

svn: r270
This commit is contained in:
Don Allingham 2001-07-30 04:46:34 +00:00
parent 412d2632c7
commit 39fb3c0c43

View File

@ -244,7 +244,8 @@ def exportData(database, filename, callback):
else:
g = gzip.open(filename,"wb")
g.write("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n")
g.write('<?xml version="1.0" encoding="iso-8859-1"?>\n')
g.write('<!DOCTYPE database SYSTEM "gramps.dtd" []>\n')
g.write("<database>\n")
g.write(" <header>\n")
g.write(" <created date=\"%s %s %s\"" % (date[2],string.upper(date[1]),date[4]))