Style stylesheets to extend XSLT, Part 1
Use XSLT as a macro preprocessor
From the developerWorks archives
Date archived: December 6, 2016 | First published: May 06, 2003
XSLT isn't just about styling documents for presentation. It's actually a very general-purpose document transformation processor. And as Joe demonstrates in this two-part series, stylesheets are themselves documents, so XSLT can be used as a portable preprocessor to automatically enhance the behavior of a stylesheet.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.