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

stripping newlines

Subject: stripping newlines
From: Matt Alexander <matalexa@xxxxxxxxx>
Date: Wed, 5 Sep 2001 11:16:17 -0500
tr stripping m
hi,

i'm creating an html page with javascript in it.

inside one of the js calls, setHTML('') i can't have any carriage returns,
or it is an 'unterminated string'.
the only way i've been able to get around this is to right my transform as
one big chunk of xslt w/out any carriage returns. this makes it ugly and
hard to update, so i'm, hoping to find a transform that would take my
transform and create a new transform without any carriage return between
elements.  xsl:strip-space, never catches all of the returns.

i need...
blah.setHTML('<table><tr><td><etc..../></td></tr></table>');

but i always end up with...

blah.setHTML('<table><tr>
<td><etc..../></td>
</tr></table>');

or something like that. i don't know if there is anything that will do this
in xslt, but i'd appreciate any help...

thanks,
-matt


 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.