Re: [xsl] XSLT repetition constructs

Subject: Re: [xsl] XSLT repetition constructs
From: "Mukul Gandhi gandhi.mukul@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Mar 2019 11:15:57 -0000
Hi Geert,
   Thanks for your comments. My replies inline please.

On Tue, Mar 5, 2019 at 3:32 PM Geert Bormans geert@xxxxxxxxxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> some first comments
>
> - define what you mean with "repetition logic"
>

I've now clarified this in the document. The online document is updated. In
the introduction, I now mention following
"By repetition logic, we mean repeated execution of a block of code,
similar in concept to a procedural language loop (for e.g the C languagebs
bforb loop)"


> - are you sure that for-each is "repetition logic" (depends on your
> definition)
>

I went by, following definitions in XSLT 3.0 spec

https://www.w3.org/TR/xslt-30/#repetition



> - I miss apply-templates which in my definition would be the most
> important "repetition logic"
>

That could be debatable. The xsl:apply-templates instruction has a "select"
attribute (which computes to a sequence of items). Theoretically, for each
item in an input sequence, a different template rule may be selected.
That's not repetition I believe.






--
Regards,
Mukul Gandhi

Current Thread