Parameterization and External Functionality

If you’ve spent any time looking at XSLT stylesheets, you’ll appreciate that even though they’re a powerful transformation mechanism, they do not lend themselves easily to every situation. Some aspects of the way that stylesheets work make them difficult to adapt to "traditional" programming tasks. You might, for example, find it difficult to create code that relies on changing variable values because XSLT variables are read-only. This might encourage you to revert completely to procedural programming to perform this "difficult" part of the processing and thereby lose out on the benefits of stylesheet-based transformations. However, the Pareto Principle is still at work because stylesheets can do a lot ...

Get Microsoft® Visual J#™ .NET (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.