W3C home > Mailing lists > Public > public-xslt-40@w3.org > January 2021

Re: Processiing arrays in XSLT 4

From: Michael Kay <mike@saxonica.com>
Date: Tue, 12 Jan 2021 18:31:11 +0000
Cc: Reece Dunn <msclrhd@googlemail.com>, Martin Honnen <martin.honnen@gmx.de>, public-xslt-40@w3.org
Message-Id: <E6821FA0-CCBA-4E6F-B4CC-9AAB142581D0@saxonica.com>
To: Christian Grün <cg@basex.org>

for key $k value $val in $map return ...


for entry ($k, $v) in $map return ...

Michael Kay

> On 12 Jan 2021, at 18:23, Christian Grün <cg@basex.org> wrote:
>> If we are going for consistency with the XPath/XQuery proposal then this could be member="..." that accepts an array or map. I'm happy either way (@array/@map or @member).
> I believe 'member' is exclusively used for arrays. Maybe 'entry' would
> be a better option then?
Received on Tuesday, 12 January 2021 18:31:46 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 12 January 2021 18:31:47 UTC