On Thu, 20 Aug 2020 at 10:40, Norman Tovey-Walsh ndw(_at_)nwalsh(_dot_)com <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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
--~----------------------------------------------------------------
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
--~--