Why use XSL variables? (2)

To avoid running the same complicated operation many times during a transformation.
For instance, you may want to use a regularized form of someone’s name many times. Instead of doing this every time:

you can store the result in a variable and just use:
XSL Variables, slide 8 of 11