Subject: Re: [xsl] Re: Need help with tokenize functionality in XSLT 1.0 From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 20 Aug 2020 09:43:15 -0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: Need help with tokeni, Norman Tovey-Walsh n | Thread | Re: [xsl] Re: Need help with tokeni, Norman Tovey-Walsh n |
Re: [xsl] Re: Need help with tokeni, Norman Tovey-Walsh n | Date | Re: [xsl] Re: Need help with tokeni, Norman Tovey-Walsh n |
Month |