xsl-list
[Top] [All Lists]

Re: Line end conversion.

2003-12-02 07:25:06
Ben,
For a new line you can use 
 or 

Cheers,
Agnes

----- Original Message ----- 
From: "Ben Trafford" <ben(_at_)prodigal(_dot_)ca>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Tuesday, December 02, 2003 3:08 PM
Subject: [xsl] Line end conversion.



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





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



<Prev in Thread] Current Thread [Next in Thread>