- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Tue, 18 Dec 2012 16:11:09 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt
In directory gil:/tmp/cvs-serv11201/tools/xslt
Modified Files:
disco-for-its20.xsl
Log Message:
playing with disco tool
--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/disco-for-its20.xsl 2012/12/17 17:33:31 1.10
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/disco-for-its20.xsl 2012/12/18 16:11:09 1.11
@@ -10,7 +10,9 @@
<xsl:variable name="commentsPeriodEndDate" as="xs:date">2013-01-10</xsl:variable>
<xsl:preserve-space elements="*"/>
- <xsl:output method="xhtml" encoding="utf-8" indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+ <xsl:output method="xhtml" encoding="utf-8" indent="yes"
+ doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
+ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="/">
<xsl:variable name="comments"
@@ -44,8 +46,13 @@
<p>Please send detailed comments on this document to <a
href="mailto:public-multilingualweb-lt-comments@w3.org"
>public-multilingualweb-lt-comments@w3.org</a>.</p>
-
- <p>This document is auto-generated with an <a href="http://www.w3.org/International/multilingualweb/lt/drafts/its20/tools/xslt/disco-for-its20.xsl">XSLT stylesheet</a> based on the <a href="http://www.w3.org/2006/07/SWD/RDFa/disco">DisCo</a> tool, using <a href="http://www.w3.org/International/multilingualweb/lt/wiki/Comments_Handling#Tracker_handling">pre-defined keywords in tracker</a>.</p>
+
+ <p>This document is auto-generated with an <a
+ href="http://www.w3.org/International/multilingualweb/lt/drafts/its20/tools/xslt/disco-for-its20.xsl"
+ >XSLT stylesheet</a> based on the <a
+ href="http://www.w3.org/2006/07/SWD/RDFa/disco">DisCo</a> tool, using <a
+ href="http://www.w3.org/International/multilingualweb/lt/wiki/Comments_Handling#Tracker_handling"
+ >pre-defined keywords in tracker</a>.</p>
<h2>Summary</h2>
<xsl:variable name="acceptedIssues"
@@ -55,7 +62,7 @@
<xsl:variable name="wgDecisionUnknown"
select="($comments except $acceptedIssues) except $rejectedIssues"/>
<xsl:variable name="reviewerSatisfied"
- select="$comments[contains(substring-after(notes/note[contains(description,'COMMENTER-RESPONSE:')][last()]/description,'COMMENTER-RESPONSE:'),'satisfied')]"/>
+ select="$comments[contains(substring-after(notes/note[contains(description,'COMMENTER-RESPONSE:')][last()]/description,'COMMENTER-RESPONSE:'),' satisfied')]"/>
<xsl:variable name="reviewerNotSatisfied"
select="$comments[contains(substring-after(notes/note[contains(description,'COMMENTER-RESPONSE:')][last()]/description,'COMMENTER-RESPONSE:'),'unsatisfied')]"/>
<table width="100%" class="overview">
@@ -92,7 +99,22 @@
</tr>
</table>
<h2>Issues list</h2>
-
+ <ul>
+ <li>
+ <xsl:text>Accepted issues: </xsl:text>
+ <xsl:for-each select="$acceptedIssues">
+ <a href="{concat('#issue-',id)}"><xsl:value-of select="concat('issue-',id)"/></a>
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ </li>
+ <li>
+ <xsl:text>Rejected issues: </xsl:text>
+ <xsl:for-each select="$rejectedIssues">
+ <a href="{concat('#issue-',id)}"><xsl:value-of select="concat('issue-',id)"/></a>
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
+ </li>
+ </ul>
<table cellpadding="5" border="2" class="issues-table" width="100%">
<tr>
<th>Issue</th>
@@ -122,10 +144,10 @@
</td>
<td>
<xsl:choose>
- <xsl:when
- test="contains($resolution,'accepted')">accepted</xsl:when>
- <xsl:when
- test="contains($resolution,'rejected')">rejected</xsl:when>
+ <xsl:when test="contains($resolution,'accepted')"
+ >accepted</xsl:when>
+ <xsl:when test="contains($resolution,'rejected')"
+ >rejected</xsl:when>
<xsl:otherwise>
<span class="unknown">unknown</span>
</xsl:otherwise>
@@ -133,10 +155,10 @@
</td>
<td>
<xsl:choose>
- <xsl:when
- test="contains($commentors-response,'unsatisfied')">unsatisfied</xsl:when>
- <xsl:when
- test="contains($commentors-response,'satisfied')">satisfied</xsl:when>
+ <xsl:when test="contains($commentors-response,'unsatisfied')"
+ >unsatisfied</xsl:when>
+ <xsl:when test="contains($commentors-response,' satisfied')"
+ >satisfied</xsl:when>
<xsl:otherwise>
<span class="unknown">unknown</span>
</xsl:otherwise>
@@ -144,12 +166,11 @@
</td>
<td>
<xsl:choose>
- <xsl:when
- test="contains($change-type,'editorial')">editorial</xsl:when>
- <xsl:when
- test="contains($change-type,'substantive')">substantive</xsl:when>
- <xsl:when
- test="contains($change-type,'none')">none</xsl:when>
+ <xsl:when test="contains($change-type,'editorial')"
+ >editorial</xsl:when>
+ <xsl:when test="contains($change-type,'substantive')"
+ >substantive</xsl:when>
+ <xsl:when test="contains($change-type,'none')">none</xsl:when>
<xsl:otherwise>
<span class="unknown">unknown</span>
</xsl:otherwise>
Received on Tuesday, 18 December 2012 16:11:10 UTC