[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] minified json output

Subject: Re: [xsl] minified json output
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Jan 2015 20:48:18 -0000

JSON doesn't need any whitespace anywhere. So just don't output any.

Michael Kay
+44 (0) 118 946 5893

On 28 Jan 2015, at 19:28, Rushforth, Peter peter.rushforth@xxxxxxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Hi,
> I need to serialize json text from a stylesheet.  What would be the
recommended XSLT way to ensure it is as close to minified as possible?
> Peter Rushforth
> XSL-List info and archive
> EasyUnsubscribe (by email)

Current Thread