xsl-list
[Top] [All Lists]

Re: Loss of white space

2003-09-07 13:07:10
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(_at_)seipas(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)seipas(_dot_)com


 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



<Prev in Thread] Current Thread [Next in Thread>