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

stripping carriage returns

Subject: stripping carriage returns
From: Leon Kwan <lkwan@xxxxxxxxxx>
Date: Tue, 30 May 2000 20:43:32 -0700
stripping carriage return
Hi all,

I've looked through the XML FAQ, and archives of this list
but I can't figure out how to strip carriage returns when
doing XSL transformations.  Here is what I want to do.
Given this:

<COMPANY>Company 1
  <NAME>Carl
  </NAME>
  <DEPARTMENT id="5">Research
  </DEPARTMENT>
  <HOMEPAGE url="http://www.xyz.com">
  </HOMEPAGE>
</COMPANY>
<COMPANY>Company 2
  <NAME>Ted
  </NAME>
  <DEPARTMENT id="4">Engineering
  </DEPARTMENT>
  <HOMEPAGE url="http://www.xyz.com">
  </HOMEPAGE>
</COMPANY>

The transformation I am using is giving me back

Company 1 | Carl
  Research 
  | http://www.xyz.com
Company 2 | Ted
  Engineering
  | http://www.xyz.com

I would like to take out the carriage return and
just have 

Company 1 | Carl | Research | http://www.xyz.com
Company 2 | Ted | Engineering | http://www.xyz.com

Any help would be much appreciated.

Thanks,
leon


 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.