Example XSL using a loop to populate a table

This example uses a loop to fill a table. Each product has a colour code, which is the column index the colour should appear in, and a colour name.

XML Data:

XSL Stylesheet:

Output:

EasyCatalog XSL Example Output