Re: [xsl] codepoints-to-string failing on spaces

Subject: Re: [xsl] codepoints-to-string failing on spaces
From: "Spencer Tickner" <spencertickner@xxxxxxxxx>
Date: Wed, 30 Jul 2008 14:04:03 -0700
Hi David,

Thanks for the response. That was indeed the problem.

Interestingly adding <xsl:preserve-space elements="name"/> at the top
of the stylesheet did not work. However adding xml:space="preserve" to
the <char> element did.

Thanks for your time.


On Wed, Jul 30, 2008 at 1:48 PM, David Carlisle <davidc@xxxxxxxxx> wrote:
> as posted  <char code="32"><name>
> </name>
> contains a newline not a space, that may have been your mailer, but even
> if there is a space in the source they are ignored in a stylesheet by
> default, so use xsl:preserve-space elements="name"/.
> David
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.
> ________________________________________________________________________

Current Thread