Subject: RE: count string-length without white-space and breaking if white-space exists after 126 characters
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 21 Jun 2002 21:20:09 +0100
|
> I always figured that given the scoping rules of xsl:variable
> it shouldn't require as many resources as xsl:param. This is
> probably just one of those things where a fuzzy idea on my
> part, without much thought behind it, has translated to a
> prejudice. Any opinion as to whether there are likely
> performance gains?
It's better to use xsl:variable if you don't intend to use it as a
parameter, because it gives the system better opportunities to optimize
variable references.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|