xsl-list
[Top] [All Lists]

Re: [xsl] XSLT repetition constructs

2019-03-05 05:16:03
Hi Geert,
   Thanks for your comments. My replies inline please.

On Tue, Mar 5, 2019 at 3:32 PM Geert Bormans 
geert(_at_)gbormans(_dot_)telenet(_dot_)be <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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 language’s
“for” 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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>