@Gerrit, thanks for the excellent resource,
https://www.w3.org/TR/xslt20/#d5e21264 should do the trick.
@Wolfgang, we do indeed want a clean separation so that the list can be
styled directly without taking into account any CSS applied to the
paragraph. In HTML5 it is also considered that the <p> should only contain
"phrasing" elements and not other "flow" elements - acc. to
http://w3c.github.io/html/single-page.html#phrasing-content, neither <ol>
or <ul> are "phrasing" elements. I know from experience that this is widely
ignored by people coding HTML but I'm trying to be more rigorous.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--