xsl-list
[Top] [All Lists]

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

2016-04-21 08:09:07
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
--~----------------------------------------------------------------
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>