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

Re: pretty printing - having CRLF instead of LF

Subject: Re: pretty printing - having CRLF instead of LF
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 May 2018 08:03:27 -0000
Re:  pretty printing - having CRLF instead of LF
I think saxon:newline works only for the "text" output method.

Michael Kay
Saxonica

> On 29 May 2018, at 08:43, cmarchand@xxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>
http://www.saxonica.com/documentation/index.html#!extensions/output-extras/se
rialization-parameters
> saxon:newline="x0Cx0A" should do the trick...
>
> Best,
> Christophe
>
> Le 2018-05-29 09:20, Geert Bormans geert@xxxxxxxxxxxxxxxxxxx a C)crit :
>> Yeah, that could be an option, thanks,
>> I was hoping to keep it inside the XSLT process,
>> but we might end up postprocessing the result indeed
>> Best regards,
>> Geert Bormans
>> --------------------------------------------------------------
>> Markup UK - a conference about XML and other mark-up languages
>> London, June 9b10 2018
>> Programme now available at [ http://markupuk.org/speakers.xhtml |
>> http://markupuk.org/speakers.xhtml ]
>> Register at [ http://markupuk.org/registration.xhtml |
>> http://markupuk.org/registration.xhtml ]
>> ----- Oorspronkelijk bericht -----
>> Van: "Abel Braaksma, (Exselt) abel@xxxxxxxxxx"
>> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
>> Aan: "xsl-list" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
>> Verzonden: Dinsdag 29 mei 2018 09:03:36
>> Onderwerp: Re:  pretty printing - having CRLF instead of LF
>>> unix2dos perhaps
>> Assumes you use ... (maybe not these days)
>> Dave
>> On 29 May 2018 at 07:51, Geert Bormans geert@xxxxxxxxxxxxxxxxxxx
>> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>>> All,
>>> Title says it all.
>>> Using XSLT I need the output indent=yes
>>> but it feeds in mainframe, so I need the line ends to be CRLF instead of
LF
>>> I am doing so now by taking full control of the "pretty print" process
>>> But maybe there is a more straightforward way?
>>> Best regards,
>>> Geert Bormans
>>> --------------------------------------------------------------
>>> Markup UK - a conference about XML and other mark-up languages
>>> London, June 9b10 2018
>>> Programme now available at http://markupuk.org/speakers.xhtml
>>> Register at http://markupuk.org/registration.xhtml
>>> 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.