-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcourse.xsl
24 lines (23 loc) · 852 Bytes
/
course.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/Course_Catalog">
<html>
<body>
<xsl:for-each select="Department">
<xsl:choose>
<xsl:when test="@Code">
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Title"></xsl:value-of>
<br/>
<xsl:copy-of select="Chair"></xsl:copy-of>
<br/>
<br/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>