I was looking through some code and i saw this:
<xsl:variable name="newlist" select="concat(normalize-space($list), ' ')" />
I’m just wondering with just this info, can i safely say for sure that $list is a string and normalize-space($list) will definitely return me a string and the line concat(normalize-space($list), ' ') will definitely return me a string (and the last character of that string is a space?)
$listcould be a string, a number, a node set, anything. The result will be a string. And yes, the last character will be a space.For instance:
returns