Posts in XSLT Categories

Creating a For Loop in XSLT

Today I wanted to create a for loop in XSLT based on the value of a variable similar to what you would do in any programming language. In XSLT it's a simple task to iterate through a number of elements using XSL for-each but it proved to be a bit trickier than I first thought to iterate over a variable.