[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: count string-length without white-space and breaki

Subject: RE: count string-length without white-space and breaking if white-space exists after 126 characters
From: "bryan" <bry@xxxxxxxxxx>
Date: Fri, 21 Jun 2002 14:53:19 +0200
javascript count string length
Jim Fuller wrote:
>the param instruction is a way of getting in params from the outside
world
>into XSLT processing, they are passed via command line or if
controlling
>transform with JAXP or javascript or whatnot there are methods for
>supplying
>the stylesheet with the data. In addition, params can be supplied to
>named/matched templates, which is another use.

>a variable instruction just holds a constant variable, both param and
>variable have scoping rules, eg. if a variable is declared within a
>template
>/ for-each then it is only scoped and thusly available within that
local
>scope.


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?



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.