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

Re: How to prevent stripping of EOL/CR chars at the en

Subject: Re: How to prevent stripping of EOL/CR chars at the end of lines?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 12 Aug 2009 10:28:29 +0100
Re:  How to prevent stripping of EOL/CR chars at the en
2009/8/12 Ben Stover <bxstover@xxxxxxxxxxx>:
> When I apply an xslt script onto an source XML file (under WinXP) then everything is fine except the fact
> that the result XML file is on one single, very, very long line.
>
> How to I prevent stripping of EOL/CR line end chars?
>
> The source file contains them, the XSLT script contains them. So the reuslt file
> should contains them as well.
>
> Moreover the prepended blanks/tabs at the beginning of a line should NOT stripped as well.
>
> So how can I achieve this all?


It highly likely that either your transform isn't copy them through to
the result, or they are being stripped by default.

As usual, put together a small complete sample that demonstrates the
problem and post it with the result you are getting and the result you
expect.


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

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.