Re: Processiing arrays in XSLT 4

On Mon, Jan 11, 2021 at 1:53 PM Michael Kay <mike@saxonica.com> wrote:

> There are several reasons this doesn't work.
>
> Firstly, an array is a singleton item, so <xsl:for-each select="$array">
> is already legal, and processes the array as a single item.
>
> Secondly, the context item is always either a single item or an error, so
> count(.) either returns 1 or fails.
>

Thanks, for the clarification.



-- 
Regards,
Mukul Gandhi

Received on Monday, 11 January 2021 09:27:48 UTC