forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject [DTD patch] blocks in table cells
Date Wed, 27 Feb 2002 12:49:39 GMT
The POI project needed to have blocks in table cells and lists (&blocks;
include tables, so this provides nested tables)

--- document-v10.dtd    31 Jan 2002 02:23:39 -0000      1.1.1.1
+++ document-v10.dtd    27 Feb 2002 06:15:54 -0000
@@ -405,12 +405,12 @@
         <!ATTLIST tr %common.att;>
 
             <!-- The table row header element -->
-            <!ELEMENT th (%content.mix;)*>
+            <!ELEMENT th (%blocks;|%content.mix;)*>
             <!ATTLIST th %common.att;
                          %cell.span;>
 
             <!-- The table row description element -->
-            <!ELEMENT td (%content.mix;)*>
+            <!ELEMENT td (%blocks;|%content.mix;)*>
             <!ATTLIST td %common.att;
                          %cell.span;>
 
@@ -443,7 +443,7 @@
     <!ATTLIST sl %common.att;>
 
         <!-- List item -->
-        <!ELEMENT li (%content.mix;|%lists;)*>
+        <!ELEMENT li (%blocks;|%content.mix;)*>
         <!ATTLIST li %common.att;>
 
     <!-- Definition list (typically two-column) -->
@@ -455,7 +455,7 @@
         <!ATTLIST dt %common.att;>
 
         <!-- Definition description -->
-        <!ELEMENT dd (%content.mix;)*>
+        <!ELEMENT dd (%blocks;|%content.mix;)*>
         <!ATTLIST dd %common.att;>
 

What do you think of this?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------



Mime
View raw message