diff trunk/src/docgen/page/xmlwriter.d @ 466:db7e27b5c180

Fixed parts of HTML output, some reorganizing.
author Jari-Matti M?kel? <jmjm@iki.fi>
date Wed, 31 Oct 2007 15:17:20 +0200
parents 33a4cb255fcc
children
line wrap: on
line diff
--- a/trunk/src/docgen/page/xmlwriter.d	Tue Oct 30 20:27:24 2007 +0100
+++ b/trunk/src/docgen/page/xmlwriter.d	Wed Oct 31 15:17:20 2007 +0200
@@ -13,29 +13,29 @@
 /**
  * TODO
  */
-class XMLWriter : AbstractPageWriter!(2, "xml") {
+class XMLWriter : AbstractPageWriter!("xml", 1) {
   this(PageWriterFactory factory, OutputStream[] outputs) {
     super(factory, outputs);
   }
 
   void generateTOC(Module[] modules) {
     // TODO
-    print.format(templates["toc"]);
+    print.format(getTemplate("toc"));
   }
 
   void generateModuleSection() {
     // TODO
-    print.format(templates["modules"]);
+    print.format(getTemplate("modules"));
   }
 
   void generateListingSection() {
     // TODO
-    print.format(templates["listings"]);
+    print.format(getTemplate("listings"));
   }
 
   void generateDepGraphSection() {
     // TODO
-    print.format(templates["dependencies"]);
+    print.format(getTemplate("dependencies"));
   }
 
   void generateIndexSection() { }