[xsl] Re: generic formula for splitting mixed-text elements to create blocks

Subject: [xsl] Re: generic formula for splitting mixed-text elements to create blocks
From: "Dorothy Hoskins dorothy.hoskins@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Mar 2016 14:16:31 -0000
@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.

Current Thread