xsl-list
[Top] [All Lists]

Re: [xsl] Sorting seems not to work completely

2011-07-27 14:27:32
On 27/07/2011 19:59, Mark wrote:
Hello Michael,
I'm not sure I understood the '+' in <xsl:for-each select+"current-group()">
It means I hit the shift key a millsecond too early. Intended was "=".

I tried the below template. [1] gives me the <Stamp> elements grouped under <Date> but not sorted by value. [2] gives me the <Stamp> elements sorted by value but not grouped under <Date>.

(2) looks correct (though "current()" can be replaced by "." with no change in meaning.) Can't see offhand why it wouldn't work.

Michael Kay
Saxonica

<!--[2]<xsl:copy-of select="current()" copy-namespaces="no"></xsl:copy-of>-->


--~------------------------------------------------------------------
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>
--~--