On Thu, 20 Aug 2020 at 10:40, Norman Tovey-Walsh ndw@xxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> >> <xsl:template match="Payment">
> >> <xsl:param name="details" select="invoiceDetails"/>
> >> <xsl:variable name="car" select="substring-before($details,';')"/>
> >> <xsl:variable name="cdr" select="substring-after($details,';')"/>
>
> It occurs to me that if there might be more than one pair of entries in
> $details, then you might have to call a template recursively.
>
> Be seeing you,
> norm
>
>
yep that's what the code posted does: it calls itself until there are no
'#` left in $cdr.
David
|