- From: Christian Grün <cg@basex.org>
- Date: Fri, 18 Dec 2020 16:46:09 +0100
- To: Dimitre Novatchev <dnovatchev@gmail.com>
- Cc: Reece Dunn <msclrhd@googlemail.com>, Christian Grün <cg@basex.org>, Michael Kay <mike@saxonica.com>, public-xslt-40@w3.org
> Then we need the array:flatten function to accept a "depth" parameter, and depth: 0 will be the default and cause the current behavior, that is unlimited depth, flatten all arrays until there are no more arrays. I thought about this option, too. But I believe that people who are used to Java and other languages don’t think about “flattening data” if all they want is accessing the contents of arrays. I believe the use case is common enough to provide an own function for that.
Received on Friday, 18 December 2020 15:46:33 UTC