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

Re: [xsl] XML file size from XSLT

Subject: Re: [xsl] XML file size from XSLT
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 09 Jan 2004 21:36:24 +0100

Jiang, Peiyun wrote:
Is it possible to get the approximate XML file size from XSLT? Is it posible
to use some string functions to count the number of chars under document
element (though sounds terrible)?

Note that an XSLT processor will never see spaces in tags, for example <foo bar="baz"> and <foo bar="baz"> can't be distinguished. Other problems are entities and character references: A and &#x00000000000000000000000041; is the same (ok, I may have exaggerated the leading zeroes a bit).


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread