[thelist] Data from DB in xsl

David.Cantrell at Gunter.AF.mil David.Cantrell at Gunter.AF.mil
Thu Aug 29 08:29:01 CDT 2002


> I have an intranet which user add data ot it using form, and it's saved in
> the SQL 2000 DB. If the user put a paragraph in this form and saves it in
> the DB, how can this data be displayed using xml/xslt so that it appears
> exactly th way the user input it i.e. with paragraphs?
>
> Please assist!!

str = Replace( inString, vbCrLf & vbCrLf, "<p>" )

This does not output XHTML though. Another way is to replace with "<br/>"
but that loses semantics.

Someone asked this question recently, though it may have been on
webdesign-l. Check the archives for both lists, the answer may be there.

-dave



More information about the thelist mailing list