[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XPath expression that yields the same result as x

Subject: Re: XPath expression that yields the same result as xsl:for-each-group?
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 May 2019 14:29:00 -0000
Re:  XPath expression that yields the same result as  x
On 30.05.2019 16:10, Michael Kay mike@xxxxxxxxxxxx wrote:
I would normally use maps for grouping in XPath 3.1.

Maps are nice and compact for grouping, I agree, but in the end I find that using them I can't conserve the original input order or control the order of items at all as I am used to from XSLT 2 with normal grouping.

So in most cases the requirements are not only to group but also to
establish an order for the groups, sometimes the original input order,
sometimes based on sort keys, and with items in a map being essentially
without order I often find it at least inconvenient to first create a
map and later have to ensure I get the wanted order when outputting the map.

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.