xsl-list
[Top] [All Lists]

Re: variable incrementing in XSLT -- XSLT spec

2003-06-27 10:22:17

of course the choice of word 'variable' is unfortunate cuz it may indicate
to the uninitiated 'something that could possibly vary' .

Its been used that way for hundreds of years, why should it cause
confusion now?

A value variable may be different in different instances,
if you go <xsl:variable name="x" select="foo"/>
in a template then the variable x will have a potentially different 
value each time. In this sense it's not constant.

But when in mathematics or english you start off by saying
let p be a prime, .....
it would be strange to say the least if half way through the paragraph
you said, oh from this point on let's make p 4.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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