Within the VariableAsItem I was creating the "ZXZX" as
follows due to a lazy cut and paste from previous code that
was selecting the value of a variable rather than just text.
<xsl:text>"</xsl:text>
<xsl:value-of select="'ZXZX'"/>
<xsl:text>"</xsl:text>
This creates a sequence of three text nodes, which you then process
one-at-a-time when you do
<xsl:for-each select="$VariableAsItem">
<xsl:analyze-string select=".">
Adjacent text nodes are concatenated only when the text nodes are used to
form the content (string value) of another node.
So if you want them concatenated, you can do:
<xsl:value-of>
<xsl:text>"</xsl:text>
<xsl:value-of select="'ZXZX'"/>
<xsl:text>"</xsl:text>
</xsl:value-of>
This is rarely needed, but it's useful to be aware of the possibility.
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--