from creator of XSLT :)
go to http://www.w3.org/TR/xslt20/#grouping-examples see last
("Example: Grouping Alternating Sequences of Elements")
with best wishes,
Slav
2012/2/29 <davep(_at_)dpawson(_dot_)co(_dot_)uk>:
On 29/02/2012 09:17, davep(_at_)dpawson(_dot_)co(_dot_)uk wrote:
Seemed uncessarily complex, b
If you are just doing the complication because you want to generate
valid xhtml, a simpler solution (that I've switched to mostly) is just
use div instead of p. div is essentially
p-with-fixed-content-model-and-a-bit-less-default-css so in particular
it allows nested lists, but if you want a blank line above paragraphs,
then you need to give it some top margin with css.
David
No David, it's part of a chain, 2300 + files so it's worth spending
time to get it right.
regards DaveP
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--