>Is it possible to write an xslt-stylesheet that converts newlines in element >content to an element, say <br> ?

Possible, but inefficient compared with running a standard text-processing replacement. (or hand-coded DOM or SAX code) to do the same thing.

XSLT is a good tool, but it's not the only tool.

If you really insist on doing it: http://www.dpawson.co.uk/xsl/sect2/replace.html#d59e15
______________________________________
Joe Kesselman / IBM Research

Reply via email to