Question on xsl The problem is as follows: display the vacation schedule for employees in the form of a table: in the employee row - 48 columns for quarters of the month. The request generates xml, in which for each employee a list of quarters of the month for which holidays are planned is built. It is necessary to display this xml. The task is not quite in my profile, so I use the tool superficially. The problem is as follows: The table header is structured as follows:
<TR> <TD class = "Title">ФИО</TD> <xsl:for-each select = "VOCATIONS_LIST/WEEEK_LIST/WEEK"> <TD><xsl:value-of select=" @ID "/></TD> </xsl:for-each> </TR> Next, I want a cycle of employees to display information about vacations, but since for each employee the number of quarters will be limited, how to fill the entire line with 48 weeks? I do not want for each employee to build a list of 48 items and mark the ones for which his vacation coincided