|
Subject: RE: [xsl] Data from DB in xsl From: Jarno.Elovirta@xxxxxxxxx Date: Wed, 28 Aug 2002 15:26:22 +0300 |
Hi,
> i have tried:
>
> <td valign="top" class="paragraph"> <xsl:value-of
> select="description"/></td>
>
> where "paragraph" is a css property containing:
>
> .paragraph {
> white-space: pre;
>
> }
>
> and "description" is the xml value that contains text from
> the DB but still
> doesn't work.
And it doesn't preserve the text formatting? Which browser are you using to view the page? Anyhow, it sound like you just want
sed -e 's/\n\n/<br\/><br\/>/'
done the XSLT way. Write a recursive template, there are quite a few examples in the FAQ and tutorials.
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Data from DB in xsl, KIENLE, STEVEN C [IT | Thread | RE: [xsl] Data from DB in xsl, Jarno . Elovirta |
| RE: [xsl] Data from DB in xsl, KIENLE, STEVEN C [IT | Date | RE: [xsl] Data from DB in xsl, Stevenson Ngila |
| Month |