----- Original Message ----- From: "mike andrews" <mikerandrews@yahoo.com> To: <www-html@w3.org> Sent: Sunday, December 09, 2001 6:09 PM Subject: nested lists in xhtml-transitional > hi there - nested lists don't seem to be allowed the > xhtml-transitional dtd. is that true? am i reading it right? see: > > http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd > > thanks - mike andrews >From the DTD, ordered and unordered lists contain list items .... <!ELEMENT ol (li)+> <!ELEMENT ul (li)+> ... list items contain "Flow" content ... <!ELEMENT li %Flow;> ... "Flow" content includes "block" content .... <!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*"> ... "block" content includes "lists" ... <!ENTITY % block "p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table"> ... and "lists" includes ordered and unordered lists ... <!ENTITY % lists "ul | ol | dl | menu | dir"> .... so yes, XHTML transitional does allow nested lists. - Chris MannallReceived on Wednesday, 12 December 2001 04:25:07 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:59:15 GMT