• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

XSLT <xsl:variable> Element

AtW

I post more often than I breathe
Joined
Jul 6, 2005
Messages
63,203
Likes received
5,553
Thanks received
1,318
"Definition and Usage

The <xsl:variable> element is used to declare a local or global variable.

Note: The variable is global if it's declared as a top-level element, and local if it's declared within a template.

Note: Once you have set a variable's value, you cannot change or modify that value!"

Source: XSLT <xsl:variable> Element

---------------------------

This is bloody DISfunctional, not functional language! :tantrum:
 
But you can bind another variable with the same name.
 
What does this have to do with house prices? Clearly should be in LR.
 
AtW, just because you don't understand something doesn't mean it's wrong.
 
AtW, just because you don't understand something doesn't mean it's wrong.

True, however I'd like to call your attention to a complete and utter failure of functional languages in market space - how many programmers use proper procedural languages and how many use so-called "functional"?

The reality is that these "functional" concepts are too mind-****ed to begin with, and in practical terms they actually make your life hell thus preventing from doing ones job effectively - these languages are disfunctional.
 
True, however I'd like to call your attention to a complete and utter failure of functional languages in market space - how many programmers use proper procedural languages and how many use so-called "functional"?

The reality is that these "functional" concepts are too mind-****ed to begin with, and in practical terms they actually make your life hell thus preventing from doing ones job effectively - these languages are disfunctional.

They're used an awful lot. It's just you don't come across them.
 
They're used an awful lot. It's just you don't come across them.

I'd estimate that less than 1% of total source code written in such "functional" languages.

I'd also estimate that less than 0.00001% of actually valuable software is written in such "functional" languages.

XSLT is probably the only one that sneaked in below radar and I deeply regret the moment I had to use it :mad
 
xslt is probably the only one that sneaked in below radar and i deeply regret the moment i failed to understand it :mad

ftfy :)
 
I'd estimate that less than 1% of total source code written in such "functional" languages.

I'd also estimate that less than 0.00001% of actually valuable software is written in such "functional" languages.

XSLT is probably the only one that sneaked in below radar and I deeply regret the moment I had to use it :mad

Forth is the language used in most devices in the world...

Most telephone systems either use functional programming or are in a constant state of being debugged.
Lots of aerospace, mostly ISVV.
 

Advertisers

Back
Top