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

RE: Line ends

Subject: RE: Line ends
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 3 Jan 2003 12:08:14 -0000
saxon line ends
You need to establish why the line endings are there, then you can
consider how to change the stylesheet to avoid outputting them.
Whitespace generally comes from one of three sources (a) it is copied
from the source document, (b) it is copied from the stylesheet, (c) it
is added by using indent="yes" (which is the default with HTML output).
The remedy depends on the cause. Sometimes <xsl:strip-space> is the
answer, sometimes the normalize-space() function.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> James Lowther
> Sent: 03 January 2003 09:01
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Line ends
> 
> 
> Hello list--
> 
> I am using Instant Saxon to transform XML to HTML and I 
> notice that there are line end characters (&#xA;) in my 
> output HTML. Is there something I can put in my XSL to tell 
> the processor to ignore line ends in my source XML? Thanks.
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


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


Current Thread
  • Line ends
    • James Lowther - Fri, 3 Jan 2003 04:00:04 -0500 (EST)
      • Michael Kay - Fri, 3 Jan 2003 07:03:09 -0500 (EST) <=

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.