xsl-list
[Top] [All Lists]

Re: XSL length output

2004-08-12 15:28:47
Dear prenom,

At 06:12 PM 8/12/2004, you wrote:
I would like to make a XSL transformation from XML to HTML (or XHTML) and be sure than the output is less that 5Ko...

So, is there any way, to predict the length of the output of an xsl transformation ?

Not really. The memory footprint of the output will not only be a function of the size of the input, varying from one stylesheet to the next, it'll also depend on a number of factors that are impossible to discern from inside the processor (being the job of the serializer, the operating system or whatever).

Particular processors might give some help with this kind of profiling, but I doubt there's any generic solution possible. (I think somewhere in the archive is an interesting discussion about how such a number could be faked, but it won't be reliable.)

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================



<Prev in Thread] Current Thread [Next in Thread>