W3C home > Mailing lists > Public > www-html@w3.org > December 2003

[XHTML2] Inline list element proposal

From: Ernest Cline <ernestcline@mindspring.com>
Date: Tue, 9 Dec 2003 02:03:31 -0500
Message-ID: <410-2200312297331984@mindspring.com>
To: "W3C HTML List" <www-html@w3.org>


Currently it is cumbersome to markup lists that are embedded
in ordinary text.  Could we use an inline level list structure?
It would be nice if we could do something like the following:

<p>
<il><label>The Fellowship of the Ring</label> consisted of nine members.
<ili>Frodo</ili> and <ili>Sam</ili> were selected at the Council of Elrond,
along with <ili>Gandalf</ili>, <ili>Aragorn</ili>, <ili>Boromir</ili>,
<ili>Gimli</ili>, and <ili>Legolas</ili>.  Only reluctantly did Elrond
consent to including the other two hobbits that accompanied Frodo to
Rivendell, <ili>Merry</ili> and <ili>Pippin</ili></il>, in the Fellowship,
as he had thought to send them back to the Shire to warn the Hobbits.
</p>

The reason for using <ili/> instead of <li/> is a desire to limit
the content model to just (PCDATA|Inline)*, so a inline list needs
a distinct list item element from the block level list elements.
The content model of  <il/> is intended to be:
(PCDATA|ili|Inline)*,(label,(PCDATA|ili|Inline)*)?

Should we have inline versions of both ordered and unordered lists?

Ernest Cline
ernestcline@mindspring.com
Received on Tuesday, 9 December 2003 02:03:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:59 GMT