Subject: RE: [xsl] transforming to breaks From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 25 Mar 2003 17:34:04 +0200 |
> I have a node like <nodeName>blah blah more blah > blah</nodeName>. > I wish to transform this to html, using <BR></BR> for the carriage > return/linefeed combo. > > How can I do this? Recursive template, e.g. template "changer" param "text" choose when contains($text, "
") value-of substring-before($text, "
") <BR></BR> call-template "changer> with-param "text" substring-after($text, "
") otherwise value-of $text The XML parser changes sequences into single , so you just need to change LINE FEED characters. Cheers, Jarno - Linnunradan käsikirja liftareille: Osa 14 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] transforming to breaks, Marty McKeever | Thread | RE: [xsl] transforming to breaks, Craig Kattner |
RE: [xsl] transforming to breaks, Marty McKeever | Date | RE: [xsl] String manipulation & Lin, Jarno . Elovirta |
Month |