| Subject: [xsl] Removing line breaks without normalize-space() From: "Mark Peters" <flickrmeister@xxxxxxxxx> Date: Tue, 19 Sep 2006 13:50:40 -0400 | 
Is there any way to remove line breaks without deleting the whitespace in-between elements? For example, suppose you started with the following XML:
<paragraph> <sentence>Some words are <i>italicized</i> and some words are in <b>bold</b>.</sentence> <sentence>Some words are <u>underlined</u>.</sentence> </paragraph>
I'd like to remove the line breaks, but otherwise retain any existing whitespace between elements, resulting in the following XML:
<paragraph><sentence>Some words are <i>italicized</i> and some words are in <b>bold</b>.</sentence><sentence>Some words are <u>underlined</u>.</sentence></paragraph>
I'm trying to avoid sentences whose contents run together when I process the text.
Mark Peters Senior Technical Writer Saba Software
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] XSLT engines and terminal, Wendell Piez | Thread | Re: [xsl] Removing line breaks with, Spencer Tickner | 
| RE: [xsl] XSLT engines and terminal, Michael Kay | Date | Re: [xsl] Getting the Base Characte, Abel Braaksma | 
| Month |