xsl-list
[Top] [All Lists]

Re: Measure the length of an XML document in bytes

2005-08-04 04:28:10
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(_at_)csgsystems(_dot_)com> wrote:
How can I measure the length of a whole XML document in bytes in XSLT
1.0?

Many thanks,
Houman

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--