|Chapter 12 - Combining XSLT Stylesheets|
|XSLT For Dummies|
|by Richard Wagner|
|Hungry Minds 2002|
In This Chapter
Anyone who rents videos from a local video store has probably seen that little sticker that says, Be kind; please rewind. As you begin to work with a growing number of XSLT stylesheets, my guess is that youll quickly find that your motto is Be kind, please combine.
Managing XSLT code can be challenging, especially when you have common template rules or other instructions that you want to use in more than one context. Isolating sections of XSLT code and placing them into different files can be useful. This practice allows you to mix and match various stylesheets, depending on your current need, without resorting to copying and pasting code from one stylesheet to another.
Combining stylesheets can be a useful organizing tool for XSLT developers. In this chapter, you find out how you can combine XSLT stylesheets and call templates and other instructions from one stylesheet into another.