[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Eliminating CR in a text output

Subject: Eliminating CR in a text output
From: Paul Terray <terray@xxxxxxxxxxxx>
Date: Tue, 12 Sep 2000 13:10:31 +0100
html text strip cr
I'm sorry this surely has been treated before, but I didn't find anything in the archives (missing the good keyword, probably):

I want to transform some XML into some text (Javascript, namely). What I want is to use some of the XML->HTML templates I already wrote. However, it seems the CR found in my XML source arrive in my final text (what javascript does not like at all).

For example, my xml is like this :
<h4 function="high"><ht>Pr&eacute;sentation -
Fonctions</ht>

And what I want to get is :
"Présentation - Fonctions"
(with no CR in the middle of my title)

I tried a <xsl:strip-space elements="ht"/> but it only works with a CR before the </ht>.

I work with Oracle parser and processor.

Thanks in advance.
--
Paul Terray - terray@xxxxxxxxxxxx
tel : 01 34 58 70 76



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.