[Home] [By Thread] [By Date] [Recent Entries]

Subject: Line end conversion.
From: Ben Trafford <ben@xxxxxxxxxxx>
Date: Tue, 02 Dec 2003 09:08:30 -0500

Hi!


I have an odd little problem. I want to match all linefeeds with a given element's content, and convert them to "\n". Does anybody know of a good way to do so?

In other words...

<element>This is a phrase with a line end.

It's very frustrating.</element>

...becomes...

<element>This is a phrase with a line end.\n\nIt's very frustrating.</element>

--->Ben


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member