Summary
How to conditionally display/not display columns in Excel template?
Content
I have one sheet on my XSL template that has a table with 3 columns and I'm looping through the XML and display 1 or more sheets based on data in the xml.
For example, let's say the xml has three nodes that have the below values.
I'm looping through these three nodes and create an xsl output that eventually will have three sheets,Open, Closed and Pending
My requirement is for the Closed sheet, I want to add 2 more columns to the table so it will have 5 columns. Open and Pending still have only 3 columns. How do I do it in the xls template?
Thanks