Re: [xsl] Loss of white space

Subject: Re: [xsl] Loss of white space
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Sun, 07 Sep 2003 20:07:10 +0000
Dear Arthur,
You havent been clear in your question. please give a close sample of your problem, so that its easy for people to answer.
Btw, "./code" is same as "code"


Thanks
Vasu


From: Arthur Maloney <ArthurMaloney@xxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Loss of white space
Date: Fri, 5 Sep 2003 15:04:08 +0100

Hello xsl-list,

How do you preserve white space ?

<code><![CDATA[ ...]]></code>

When I look at the cdata section with xml spy the spaces and line breaks are
there.



<fo:block><xsl:value-of select="./code"/></fo:block>


The data is there but all the spaces have collapsed to one wide and there are
no linefeeds


this is part of an fo to pdf tranformation




-- Best regards, Arthur mailto:ArthurMaloney@xxxxxxxxxx


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



_________________________________________________________________ Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread