Yes but my original question was what was the type of
<xsl:variable name="thing">"<xsl:value-of
select="replace(.,',',concat($quot,',',$quot))"/>"</xsl:variable> and
the value of the variable $quot is obvious.
precisely because xs:string+ (although it types checks) wasn't giving
the right result and omitting a type does.
Ahh - when you omit 'sequence type' (the as attribute) the contents of
the variable will be a document node with text node children, where
adjacent text nodes get merged.... leaving you with a document node
with a single text node child.
--
Andrew Welch
http://andrewjwelch.com
--~------------------------------------------------------------------
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>
--~--