Declaring and Using Variables
A variable in XSLT has more in common with a variable in algebra than with a variable in a typical programming language. It’s a name that represents a value and, within a particular application of a template, it will never represent any other value — it can’t be reset using anything described in the XSLTRecommendation. (Some XSLT processors offer a …