Updated credits.pl to add a XML header/DTD to credits.xml

svn-id: r25994
This commit is contained in:
Max Horn 2007-03-05 16:42:58 +00:00
parent 693d474502
commit bccf93108c

View File

@ -179,8 +179,11 @@ sub begin_credits {
print "// This file was generated by credits.pl. Do not edit by hand!\n";
print "static const char *credits[] = {\n";
} elsif ($mode eq "XML") {
print "<?xml version='1.0'?>\n";
print "<!-- This file was generated by credits.pl. Do not edit by hand! -->\n";
print "<appendix>\n";
print "<!DOCTYPE appendix PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'\n";
print " 'http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd'>\n";
print "<appendix id='credits'>\n";
print " <title>" . $title . "</title>\n";
print " <informaltable frame='none'>\n";
print " <tgroup cols='3' align='left' colsep='0' rowsep='0'>\n";