|Chapter 8 - Variables in XSLT: A Breed Apart|
|XSLT For Dummies|
|by Richard Wagner|
|Hungry Minds 2002|
In This Chapter
Do you like canned spinach? Unless you have a name that begins with a P , forearms the size of thighs, and a girlfriend named Olive Oyl, I suspect youd much prefer a fresh spinach salad instead. Okay, maybe spinach is pushing it, but I bet youd at least go for the fresh part, right? Prepackaged goods are helpful when you need to prepare food in advance of their actual use, but people dont much like the notion of canned anything if they can help it.
In earlier chapters of this book, I walk you through a lot of XSLT. All the information plugged into result documents until this chapter has come from XML or from canned text. That works fine in the earlier chapters of this book, but just as one longs for fresh veggies after a weekend camping trip of SPAM and beef jerky, here I show you how to gather and utilize fresh data through the use of variables and parameters.