I need help trying to get the majors "CSAT" and "ISAS" into the Majors/Concentration column and then have the corresponding course numbers with commas. Any Help
XML Code
<?xml version="1.0"?>
<!-- coursinfo.xml, uses three XSLT stlyesheets to create
the desired view of the data ITEC 325 - assignment -->
<?xml-stylesheet type="text/xsl" href="conclist.xsl"?>
<itec>
<course number='324'>
<title>Principles of CS III</title>
<majors>
<mj dg='CSAT'>
<co>CS</co>
<co>DB</co>
<co>SE</co>
<co>NET</co>
</mj>
<mj dg='ISAS'>
<!--list any concentrations that apply -->
</mj>
</majors>
</course>
</itec>
XSLT Code
<?xml version="1.0" ?>
<!-- consclist.xsl
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" />
<xsl:template match="/">
<html>
<head>
<style type="text/css">table {background-color:lightgray; border-style:solid; border-color:red; border-width:10px; }
caption {font-weight:bold; font-size:16pt; }
</style>
</head>
<body>
<table border ="2" cellpadding = "5">
<tr>
<th>Major/Area of Concentration</th>
<th>Required ITEC Courses</th>
</tr>
<xsl:for-each select="itec/course">
<xsl:sort select="majors/mj" data-type="text" order="ascending" />
<xsl:sort select="majors/co" data-type="text" order="ascending" />
<xsl:sort select="@number" data-type="number" order="descending" />
<tr>
<td>
<xsl:text>/</xsl:text>
<xsl:value-of select="majors/mj" />
</td>
<td>
<xsl:value-of select="@number" />
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>