Re: [xsl] xml to html paragraphing

Subject: Re: [xsl] xml to html paragraphing
From: "Lyndall Scantlebury" <slyndall@xxxxxxxxxxx>
Date: Fri, 30 Mar 2001 12:10:29 +1000
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@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
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



Current Thread