Hello David,
Your solution appears to work perfectly on my example. To make sure I
understand why it works,
(1) is my belief correct that when you said "so instead of grouping on the
element (which may not be there), group on its string value (which will be)
" you were telling me to replace a non-existent sequence with an empty
sequence?
(2) I implemented your suggestion as:
<xsl:for-each-group select="current-group()" group-by="string(SubHeading)">
Is that correct?
This solution would never have occurred to me. So much to learn!
Thanks,
Mark
--~------------------------------------------------------------------
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>
--~--