This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: count string-length without white-space and breaking if white-space exists after 126 characters
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 21 Jun 2002 21:20:09 +0100
- Subject: RE: [xsl] count string-length without white-space and breaking if white-space exists after 126 characters
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list