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

Re: For CSV output file - should end of record marker

Subject: Re: For CSV output file - should end of record marker be line feed or a carriage return from xsl
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Nov 2014 18:42:07 -0000
Re:  For CSV output file - should end of record marker
This question has nothing to do with XSLT and is therefore off-topic. It's a
question about CSV. You won't find a standard for CSV files - you just have to
do what works for your receiving application.

Michael Kay
Saxonica
mike@xxxxxxxxxxxx
+44 (0) 118 946 5893




On 7 Nov 2014, at 17:39, Catherine Wilbur cwilbur@xxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> 1) Currently I am using a line feed in my code at the end.  Should it be a
line feed or carriage return?  Reason I am asking is because when I open my
CSV file in NotePad or WordPad the data wraps.  But with Notes++ or Excel the
data does not wrap.  Currently using a line feed at end of my data.  Assuming
it should be a carriage return.  Guessing that the data is wrapping when I
open the CSV file because it does not recognize the carriage return or line
feed but Notes++ does recognize these characters.
>
>
http://stackoverflow.com/questions/7965642/explicitly-specify-linefeed-charac
ter-and-not-carriage-return
>
> Should I be using a line feed in my code.  (this is what I am using now)
>
> <xsl:text>&#xA;</xsl:text>
>
>
> Or should I be using a carriage return in my code.
> <xsl:text>&#xD;</xsl:text>
>
>
>
> _____________________________________________________________________
> Catherine Wilbur  |  Senior Application Programmer  |  IT Services
> 401 Sunset Avenue, Windsor ON Canada  N9B 3P4
> (T) 519.253.3000 Ext. 2745  |  (F) 519.973.7083  |  (E) cwilbur@xxxxxxxxxxx
> www.uwindsor.ca/its
> XSL-List info and archive
> EasyUnsubscribe (by email)

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.