[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] A function that tokenizes a string, wrapping each token in start-tag , end-tag pairs?


Subject: Re: [xsl] A function that tokenizes a string, wrapping each token in start-tag , end-tag pairs?
From: "Costello, Roger L. costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Apr 2016 13:09:02 -0000

Martin wrote:
-------------------------------------------
It would depend on the data and on the structure of the headers variable
whether the separate

   <xsl:if test=". ne ''">

is needed or could be moved into a predicate on

   <xsl:for-each select="tokenize($line,
	codepoints-to-string($delimiter))[. ne '']">
-------------------------------------------

Unfortunately I can't do that because that would mess up the index into
$headers.

Thanks Martin.

/Roger


Current Thread