Re: [xsl] Measure the length of an XML document in bytes

Subject: Re: [xsl] Measure the length of an XML document in bytes
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Thu, 4 Aug 2005 16:58:10 +0530
Probably you can write an extension function in Java using
java.io.File class to get the file size. I can see a method called
public long length() in JDK docs (j2sdk1.4.2_03)..

The documentation says:
Returns:
The length, in bytes, of the file denoted by this abstract pathname,
or 0L if the file does not exist

Regards,
Mukul

On 8/4/05, Khorasani, Houman <houman_khorasani@xxxxxxxxxxxxxx> wrote:
> How can I measure the length of a whole XML document in bytes in XSLT
> 1.0?
>
> Many thanks,
> Houman

Current Thread