RE: [xsl] XSL 2.0 - value-of - xml:space="preserve"

Subject: RE: [xsl] XSL 2.0 - value-of - xml:space="preserve"
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 4 Apr 2008 11:09:06 +0800
> On Fri, 2008-04-04 at 10:50 +0800, Michael Kay wrote:
> > Yes, this is expected. With xml:space="preserve", whitespace text 
> > nodes appearing in a sequence constructor are significant and are 
> > copied to the output, as if they were enclosed in xsl:text.
> 
> There is no whitespace between the '=<xsl:value-of/>;'
> (and I specified separator="")

Yes, but there is whitespace between the start tag <script> and the start
tag <xsl:variable>. I'm not certain, but I suspect that's your problem.

Michael Kay
http://www.saxonica.com/

Current Thread