fix haddock submodule pointer
[ghc-hetmet.git] / docs / docbook-cheat-sheet / docbook-cheat-sheet.xml
index 7f76339..d48b3ef 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 
 <article id="docbook-cheat-sheet">
 
   <sect1 id="doc-layout">
     <title>Document layout</title>
 
-    <para>The GHC documentation is written using DocBook XML V4.2, so
+    <para>The GHC documentation is written using DocBook XML V4.5, so
     the first few lines should look like this:</para>
 
 <programlisting>
 &lt;?xml version="1.0" encoding="iso-8859-1"?>
-&lt;!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+&lt;!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
 </programlisting>
 
     <para>The encoding can of course be chosen according to taste.</para>
@@ -61,7 +61,7 @@
       <varlistentry>
         <term>Comments</term>
         <listitem>
-          <para>Comments in SGML look like this: <sgmltag
+          <para>Comments in XML look like this: <sgmltag
           class="sgmlcomment">This is a comment</sgmltag>.</para>
         </listitem>
       </varlistentry>
   <sect1 id="docbook-tables">
     <title>Tables</title>
 
-    <para>Tables are quite complicated to write in SGML (as in HTML,
+    <para>Tables are quite complicated to write in DocBook XML (as in HTML,
     there are lots of fiddly tags), so here's an example you can
     cannibalise. In the spirit of the LaTeX short introduction I don't
     repeat all the markup verbatim; you have to look at the source for