[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Data from DB in xsl
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|