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:55:00 -0000
On Tue, Mar 5, 2019 at 3:32 PM Geert Bormans geert@xxxxxxxxxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

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

There are many situations, where XSLT apply-templates behaves like a
repetition construct. Following is an example,

<xsl:apply-templates select="p"/>

<xsl:template match="p">
    ...
</xsl:template>

In this example, apply-templates invokes the same template rule for each
sibling input "p" element. That could classify as repetition I guess.
Therefore, I agree with you.




-- 
Regards,
Mukul Gandhi

Current Thread