This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xml to html paragraphing


Hey

Have you tried adding <pre> tags around your <xsl:value-of select="text" />. 
  eg <pre><xsl:value-of select="text" /></pre>.  This should preserve the 
spacing for you.

Good luck
LS

>From: "Java XML" <jaxlive@hotmail.com>
>Reply-To: xsl-list@lists.mulberrytech.com
>To: XSL-List@lists.mulberrytech.com
>Subject: [xsl] xml to html paragraphing
>Date: Thu, 29 Mar 2001 09:34:13 -0500
>
>Hi Folks,
>            Is there a way to preserve the paragraph structure using xslt 
>in
>the resulting output html document because i have a well formed xml 
>document
>with a text field and it is divided into paragraphs but when i generate a
>html out of it i cannot maintain the paragraph structure in the resulting
>html so is there a way to preserve the paragraph structure even in the
>resulting structure i used
>
><xsl:value-of select="text" />
>to get the value of the text field in the xml any suggestions ...
>
>Thanx
>JAX
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]