converting xml to html using xsl and preserving newline / formatting ?
I want to build a web page on the fly based upon data stored in SQL. I currently read the data into a datatable and extract the xml representation. Using xsl I then apply an xslt stylesheet to produce an html representation of my data. This works great, however ...
Some of the data contain embedded \n character (entered via a richtextbox). How do I preserve these so the resultant html reflect the formating. Currently all formating characters are removed and I get one long string instead of a set of coherent paragraphs.
Also, is there a way in which I can transform rtf formated text direct to html ?
Thanks,
Nick

