[MKDoc-commit] XML validity bug fixed

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Mon Mar 14 09:53:27 GMT 2005


Log Message:
-----------
XML validity bug fixed

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/templates/component/headlines/anon:
        en.html

-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/component/headlines/anon/Attic/en.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -Ltemplates/component/headlines/anon/en.html -Ltemplates/component/headlines/anon/en.html -u -r1.1.2.1 -r1.1.2.2
--- templates/component/headlines/anon/en.html
+++ templates/component/headlines/anon/en.html
@@ -20,105 +20,104 @@
     petal:content="self/title"
   >Headlines Title</h2>
 
-    <dl>
+  <dl>
 
-      <!--? Generate upcoming events style headlines -->
-      <div 
-        petal:condition="true: self/mode_is_upcoming"
-        petal:repeat="row self/default_headlines" 
-        petal:omit-tag=""
+    <!--? Generate upcoming events style headlines -->
+    <div 
+      petal:condition="true: self/mode_is_upcoming"
+      petal:repeat="row self/default_headlines" 
+      petal:omit-tag=""
+    >
+      <dt 
+        class="event"
+        petal:define="headline row/document; timerange row/timerange;"
       >
-        <dt 
-          class="event"
-          petal:define="headline row/document; timerange row/timerange;"
-        >
-          <a
-              href="#"
-              hreflang="en"
-              lang="en"
-              xml:lang="en"
-              dir="ltr"
-              petal:attributes="href headline/uri; 
-                                hreflang headline/lang; 
-                                lang headline/lang; 
-                                xml:lang headline/lang; 
-                                dir headline/direction;"
-              petal:content="headline/title"
-            >Title of the document</a>
-        </dt>
-        <dd
-          class="event"
-        > 
-          <span
+        <a
+            href="#"
+            hreflang="en"
             lang="en"
             xml:lang="en"
             dir="ltr"
-            petal:attributes="lang headline/lang; 
+            petal:attributes="href headline/uri; 
+                              hreflang headline/lang; 
+                              lang headline/lang; 
                               xml:lang headline/lang; 
                               dir headline/direction;"
-            petal:content="timerange/title"
-          >
-            A description of the event.
-          </span>
-        </dd>
-        <dd
-          class="event"
+            petal:content="headline/title"
+          >Title of the document</a>
+      </dt>
+      <dd
+        class="event"
+      > 
+        <span
+          lang="en"
+          xml:lang="en"
+          dir="ltr"
+          petal:attributes="lang headline/lang; 
+                            xml:lang headline/lang; 
+                            dir headline/direction;"
+          petal:content="timerange/title"
+        >
+          A description of the event.
+        </span>
+      </dd>
+      <dd
+        class="event"
+      >
+        <span
+          metal:use-macro="/macros/timerange/#simple"
+          class="mkdoc-date"
         >
-          <span
-            metal:use-macro="/macros/timerange/#simple"
-            class="mkdoc-date"
-          >
-            10:11am to 5:10pm Monday December 18 2005
-          </span>
-        </dd>
-      </div>
+          10:11am to 5:10pm Monday December 18 2005
+        </span>
+      </dd>
+    </div>
 
 
-      <!--? Generate newest documents style headlines -->
-      <div 
-        petal:condition="true: self/mode_is_newest"
-        petal:repeat="headline self/default_headlines" 
-        petal:omit-tag=""
+    <!--? Generate newest documents style headlines -->
+    <div 
+      petal:condition="true: self/mode_is_newest"
+      petal:repeat="headline self/default_headlines" 
+      petal:omit-tag=""
+    >
+      <dt
+        class="document"
       >
-        <dt
-          class="document"
-        >
-          <a
-              href="#"
-              hreflang="en"
-              lang="en"
-              xml:lang="en"
-              dir="ltr"
-              petal:attributes="href headline/uri; 
-                                hreflang headline/lang; 
-                                lang headline/lang; 
-                                xml:lang headline/lang; 
-                                dir headline/direction;"
-              petal:content="headline/title"
-            >Title of the document</a>
-        </dt>
-        <dd
-          class="document"
-        > 
-          <span
+        <a
+            href="#"
+            hreflang="en"
             lang="en"
             xml:lang="en"
             dir="ltr"
-            petal:attributes="lang headline/lang; 
+            petal:attributes="href headline/uri; 
+                              hreflang headline/lang; 
+                              lang headline/lang; 
                               xml:lang headline/lang; 
                               dir headline/direction;"
-            petal:content="headline/description"
-          >
-            A description of the document.
-          </span>
-            <br />
-            <small petal:content="headline/date_created"> 
-              01-03-2005 
-            </small>
-        </dd>
-      </div>
+            petal:content="headline/title"
+          >Title of the document</a>
+      </dt>
+      <dd
+        class="document"
+      > 
+        <span
+          lang="en"
+          xml:lang="en"
+          dir="ltr"
+          petal:attributes="lang headline/lang; 
+                            xml:lang headline/lang; 
+                            dir headline/direction;"
+          petal:content="headline/description"
+        >
+          A description of the document.
+        </span>
+          <br />
+          <small petal:content="headline/date_created"> 
+            01-03-2005 
+          </small>
+      </dd>
+    </div>
 
-    </dl>
+  </dl>
 
-  </div>
 </div>


More information about the MKDoc-commit mailing list