Re: DTD for ABW file format

Paolo Molaro (lupus@lettere.unipd.it)
Wed, 21 Jul 1999 13:39:44 +0200


On Tue, Jul 20, 1999 at 12:31:47PM -0500, Jeff Hostetler wrote:
> At 06:37 PM 7/20/99 +0200, Paolo Molaro wrote:
> >I don't think a list item should be a paragraph: what if I want
> >two or more paragraphs per item?.
>
> this is doable. don't think of a list item as a structural container.
> it just describes the visual properties and the linkage to other
> members of the list.
>
> <p PROPS="type=LI" id="xx0" next="xx1" ...>This is the first bulleted item</p>
> <p>this is a second paragraph</p>
> <p PROPS="type=LI" id="xx1" prev="xx0" ...>This is the second bulleted
> item</p>
>
> there's some handwaving here for what style (especially indentation)
> you want for the middle paragraph, but that's another topic.

Well, it's important that the second paragraph is aligned correctly
and your solution means you have to maintain consistency in many
places (the ids) and you may have a hard time deciding when a list
ends.
What's wrong with the "obviously correct" and simple example below?

<list type=bullet>
<item><p>stuff 1</p><p>second para</p></item>
<item><p>stuff 2</p></item>
</list>

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules


This archive was generated by hypermail 1.03b2.