You find it reasonable to have an (ordered) list mid-sentence ? ;-)
yes, sometimes, and displayed mathematics, very often,
I do agree, that it may make sense, to allow at least for lists within
HTML paragraphs, though, since special cases may arise then and when.
if you want to do p then the idea is to do grouping either with
xsl-for-each-group in xslt2 or an xslt1 grouping with the grouping key
being a boolean that's true for block elements, so each group of inline
elements you stick in a p and each group of block elements you don't.
David
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--