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

RE: How to prevent "question mark in block" characters

Subject: RE: How to prevent "question mark in block" characters converting xml to csv?
From: "KARR, DAVID (ATTSI)" <dk068x@xxxxxxx>
Date: Tue, 2 Mar 2010 11:09:15 -0800
RE:  How to prevent "question mark in block" characters
> -----Original Message-----
> From: Martin Honnen [mailto:Martin.Honnen@xxxxxx]
> Sent: Tuesday, March 02, 2010 10:53 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  How to prevent "question mark in block" characters
> converting xml to csv?
>
> KARR, DAVID (ATTSI) wrote:
> > This is partially an Excel question, but I'm writing a stylesheet to
> > convert an XML file to a CSV, and I have to do some things to make
it
> a
> > valid CSV, like quoting the values, escaping quotes, etcetera.  One
> > thing that I don't see how to solve is that if the resulting CSV
> field
> > has embedded newlines, when I view the result in Excel, the end of
> each
> > embedded line has a "question mark in block" character.  How do I
> have
> > to massage the transformed xml data to prevent that?
>
> Maybe using
>    &#13;&#10;
> for carriage return/line break suffices to make Excel happy.

The value is in quotes, so that results in the literal "&#13;&#10;" in
Excel.

I'll ask on the Excel newsgroup.  I have to figure out how to make this
work in CSV before I can get it to work in the stylesheet.

Thanks.

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.