On 22/11/2011 18:33, Mark wrote:
Hi Ken,
I am finding that perhaps a pre-processing solution might be simpler
code for me to maintain as I need to sort by the @line attribute (if it
exists) and have not been able to do that after using the suggestion
you, David, and Martin provided.
Thanks everyone,
Mark
something else must be wrong, perhaps the group-by expression isn't
selecting what you expect? as you could use xsl:sort
select="Stamp/@line" or perhaps better, select="current-grouping-key()"
with any of the solutions proposed, or in fact with your original
formulation. Adding an explicit default wouldn't change the sorting much
at all (except of course in most sort orders the empty case sorts first
or last but if you add an explicit default you can make it any value and
so anywhere in the sort order).
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>
--~--