You are on page 1of 2

DegreesXsl.

xsl
In the XSLT file, there is a xsl:key tag to help us to access the elements in the xml source and
it is used to create anchoring between the degrees and the old degrees which contain see
(. text.



In the beginning of the xsl file, there is a table and the names of the header /footer columns
are declared in this section.



In the body section of the table, xsl:apply-templates tag applies 2 templates which are
declared at the bottom to the degrees/degree elements in the xml source.



As states before, there are 2 templates in the xsl file. First one is applied to the degree
element in the xml source and it creates ID value for the name of the degree program. In the
xml source some of the school names of the degree programs are empty. These records are
transformed to the N/A in this template.

You might also like