Currently, this:
<xsl:value-of
select="preceding-sibling::node()[not(self::text()[not(normalize-space())])][1][self::comment()]"/>
Produces no line breaks.
the line breaks are copied to the html but are by default rendered as
space, you can render then as linebreaks using css or a <pre> element.
Otherwise you need to replace #10 by <br/> using a replace template (the
faq has some examples) or xsl:analyze-string in xslt2
David
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--