Re: [xsl] pretty printing - having CRLF instead of LF

Subject: Re: [xsl] 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
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: [xsl] 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