JSON doesn't need any whitespace anywhere. So just don't output any.
Michael Kay
Saxonica
mike(_at_)saxonica(_dot_)com
+44 (0) 118 946 5893
On 28 Jan 2015, at 19:28, Rushforth, Peter
peter(_dot_)rushforth(_at_)nrcan-rncan(_dot_)gc(_dot_)ca
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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)
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--