<?xml version="1.0" encoding="Shift_JIS"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">

<html>
<head>
<title></title>

<link rel="stylesheet" type="text/css" href="output.css" title="Style"/>

</head>
<body>

<table class="assignedTableHeader">
<tr><td class="tdLeft"><xsl:value-of select="java/array/void[@index='0']/object/void[@property='header']"/></td></tr>
<tr><td class="tdTitle">担当者別課題票件数</td></tr>
<tr><td class="tdRight">作成日時:<xsl:value-of select="java/array/void[@index='0']/object/void[@property='nowDate']"/></td></tr>
</table>

<table class="assignedTable">

<tr>
<th rowspan="2">担当者</th>
<th colspan="4">ステータス</th>
<th rowspan="2">合計</th>
<th rowspan="2">未対応率</th>
</tr>

<tr>
<th>未対応</th>
<th>対応済み</th>
<th>確認済み</th>
<th>完了</th>
</tr>

<xsl:for-each select="java/array/void/object">
<xsl:sort select="void[@property='assigned']" data-type="text" order="ascending"/>
<tr>
<td class="assignedTdAssigned"><xsl:value-of select="void[@property='assigned']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='assignedCnt']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='resolvedCnt']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='verifiedCnt']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='closedCnt']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='sum']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='assignedRate']"/></td>
</tr>
</xsl:for-each>

</table>

<table class="assignedTableSum">

<xsl:for-each select="java/array/void[@index='0']/object">
<tr>
<td class="assignedTdAssigned">合計</td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='assignedSum']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='resolvedSum']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='verifiedSum']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='closedSum']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='allSum']"/></td>
<td class="assignedTdOther"><xsl:value-of select="void[@property='assignedRateAvg']"/></td>
</tr>
</xsl:for-each>

</table>

<table class="assignedTableOpened">

<tr>
<td class="assignedTdAssigned">担当者未割り当て</td>
<td class="assignedTdOpened"><xsl:value-of select="java/array/void[@index='0']/object/void[@property='openedCnt']"/></td>
<td class="assignedTdNotes" >未対応：担当者を割り当てた後、ステータスに変化がない課題</td>
</tr>

</table><br></br>

<hr class="assignedHr"></hr>

<table class="assignedTableHeader">
<tr><td class="tdRight"><xsl:value-of select="java/array/void[@index='0']/object/void[@property='footer']"/></td></tr>
</table>

</body>
</html>

</xsl:template>
</xsl:stylesheet> 