- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- Date: Mon, 11 Jan 2021 14:57:19 +0530
- To: Michael Kay <mike@saxonica.com>
- Cc: public-xslt-40@w3.org
Received on Monday, 11 January 2021 09:27:48 UTC
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