Re: [xsl] Compacting with xmllint

Subject: Re: [xsl] Compacting with xmllint
From: "Ihe Onwuka ihe.onwuka@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 26 Oct 2014 21:40:54 -0000
ok thats useful to know...... Note that strip-space  is already specified
on the stylesheet and I still get the 6MB reduction on file size after
formatting though.

On Sun, Oct 26, 2014 at 8:53 PM, Michael Kay mike@xxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> The question of whether a file is too big to transform depends on the tree
> size, not the lexical XML size. Presumably --format is only changing
> whitespace, and a decent processor will compress whitespace, or remove it
> entirely if you specify xsl:strip-space.
>
> Michael Kay
> Saxonica
> mike@xxxxxxxxxxxx
> +44 (0) 118 946 5893
>
>
>
>
> On 26 Oct 2014, at 20:00, Ihe Onwuka ihe.onwuka@xxxxxxxxx <
> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> I'm sure most are familiar with the --format option on xmllint to get more
> readable XML. I've also found it useful for compacting a large file. A file
> of mine that was 92MB pre-compacting comes out at 86MB after. This could be
> very handy for files like mine that are bordering on being too big to
> transform.
>
>
>   XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <http://-list/293509> (by email)
>
>
>   XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <-list/1005724> (by
> email <>)

Current Thread