Added <!DOCTYPE...> for the gramps.dtd to the generated XML
svn: r270
This commit is contained in:
parent
412d2632c7
commit
39fb3c0c43
@ -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]))
|
||||
|
Loading…
Reference in New Issue
Block a user