xsl-list
[Top] [All Lists]

Re: [xsl] XSLT repetition constructs

2019-03-05 05:55:04
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:

- 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
--~----------------------------------------------------------------
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>