[xslt] str:split skips empty tokens?



Hello. I wrote a short text2html function that splits input using str:split($text, '&#10;'), then runs a for-each through every token and appends a <br/>. However, this loop ignores empty lines.

The page http://www.exslt.org/str/functions/split/str.split.html does not include nor exclude such behavior, so this has left me somewhat confused...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]