[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] replace carridge return/linefeed


Subject: [xsl] replace carridge return/linefeed
From: "Joeri Belis" <joeri.belis@xxxxxxxxxxxx>
Date: Mon, 5 Aug 2002 16:28:37 +0200

I have the following situation in a xml file. There is a node that can
contain a text that is entered via an editor field ( under windows ) , thus
the user can add carridge return and line feed. Resulting in this kind of
output.

<order>
                <price>2.73</price>
                <text>this is my text
=====================</tekst>
                <ordline>10</ordline>
</order>

Now i want to replace all the carridge returns and linefeeds with &#10;

How can i do this?

Joeri



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



Current Thread
Keywords
xml