--- a/testsuite/Report/report.xslt Fri Dec 05 14:36:25 2008 +0000
+++ b/testsuite/Report/report.xslt Fri Dec 05 14:41:16 2008 +0000
@@ -9,26 +9,24 @@
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:t="http://www.w3.org/1999/xhtml"
- xml:lang="en">
+ xmlns:r='http://www.w3.org/2008/11/dfxp-report'
+ xml:lang="en" exclude-result-prefixes='tt tts ttm ttp xs t r'>
- <xsl:output omit-xml-declaration="no" encoding="utf-8" method="xml" indent='yes'/>
+ <xsl:output omit-xml-declaration="yes" encoding="utf-8" method="xml" indent='yes'/>
+
+ <xsl:variable name='entries' select='document("spec_toc.xml")'/>
<xsl:template match="/">
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
- <title>DFXP 1.0 test suite coverage</title>
- <link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/base.css" />
- <style type='text/css'>
-caption { font-size: 120%; text-align: left; margin-top: 2em; }
-table {border-collapse: collapse; }
-td, th { border: 1px solid black; padding: 1px}
-tbody th { text-align: left; }
-thead th { background: #ccc; }
-table { font-size: 90%; margin-top: 2em; }
- </style>
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+ <title>DFXP 1.0 test suite coverage</title>
+ <link type="text/css" rel="stylesheet" href="report.css" />
+ <script type="text/javascript" src='tabs.js'>
+//nothing
+</script>
</head>
- <body>
+ <body onload="W3C.init('menu', 'tabs')">
<xsl:variable name='files' select='/files/file'/>
<xsl:variable name='tests'>
<xsl:for-each select='/files/file'>
@@ -37,8 +35,17 @@
</xsl:variable>
<h1>DFXP 1.0 test suite coverage</h1>
-<table id='descriptions'>
-<caption>General description of the tests</caption>
+ <ul id='menu' style='display: none'>
+ <li>Descriptions</li>
+ <li>Features</li>
+ </ul>
+
+ <div id='tabs'>
+ <div id='descriptions' class='tab'>
+<table>
+<caption><xsl:text>General description of </xsl:text>
+<xsl:value-of select='count(/files/file)'/>
+<xsl:text> tests</xsl:text></caption>
<thead>
<tr>
<th>File</th>
@@ -50,14 +57,16 @@
<xsl:variable name='doc_number' select='position()'/>
<xsl:variable name='doc' select='$files[position()=$doc_number]'/>
<tr>
- <th><a href='{concat("../", $doc)}'><xsl:value-of select='tt:head/tt:metadata/ttm:title'/></a></th>
+ <th><a href='{concat("http://dev.w3.org/cvsweb/~checkout~/2008/tt/testsuite/", $doc, "?content-type=application/xml")}'><xsl:value-of select='tt:head/tt:metadata/ttm:title'/></a></th>
<td><xsl:value-of select='tt:head/tt:metadata/ttm:descr'/></td>
</tr>
</xsl:for-each>
</tbody>
</table>
-
-<table id='features'>
+<p><a href='dfxp-testsuite.zip'>Zip archives containing all tests</a></p>
+ </div>
+ <div id="features" class='tab'>
+<table>
<caption>DFXP features in use</caption>
<thead>
<tr>
@@ -70,1193 +79,1218 @@
<tbody>
<tr>
<th>@ttp:cellResolution</th>
- <td>6.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:cellResolution[matches(., "^\d+ \d+$")]])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:cellResolution[matches(., "^\d+ \d+$")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:cellResolution[matches(., "^\d+ \d+$")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:clockMode</th>
- <td>6.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:clockMode])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:clockMode)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:clockMode)'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:clockMode="local"</th>
- <td>6.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:clockMode="local"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:clockMode[.="local"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:clockMode[.="local"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:clockMode="gps"</th>
- <td>6.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:clockMode="gps"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:clockMode[.="gps"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:clockMode[.="gps"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:clockMode="utc"</th>
- <td>6.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:clockMode="utc"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:clockMode[.="utc"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:clockMode[.="utc"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:frameRate</th>
- <td>6.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:frameRate[matches(., "^\d+$")]])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:frameRate[matches(., "^\d+$")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:frameRate[matches(., "^\d+$")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:frameRateMultiplier</th>
- <td>6.2.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:frameRateMultiplier[matches(., "^\d+(:\d+)?$")]])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:frameRateMultiplier[matches(., "^\d+(:\d+)?$")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:frameRateMultiplier[matches(., "^\d+(:\d+)?$")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:markerMode</th>
- <td>6.2.5</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.5</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:markerMode])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:markerMode)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:markerMode)'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:markerMode="continuous"</th>
- <td>6.2.5</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.5</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:markerMode="continuous"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:markerMode[.="continuous"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:markerMode[.="continuous"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:markerMode="discontinuous"</th>
- <td>6.2.5</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.5</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:markerMode="discontinuous"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:markerMode[.="discontinuous"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:markerMode[.="discontinuous"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:pixelAspectRatio</th>
- <td>6.2.6</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.6</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:pixelAspectRatio[matches(., "^\d+(:\d+)?$")]])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:pixelAspectRatio[matches(., "^\d+(:\d+)?$")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:pixelAspectRatio[matches(., "^\d+(:\d+)?$")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:profile</th>
- <td>6.2.7</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.7</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:profile[starts-with(., "http://www.w3.org/2006/10/ttaf1#profile-dfxp")]])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:profile[starts-with(., "http://www.w3.org/2006/10/ttaf1#profile-dfxp")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:profile[starts-with(., "http://www.w3.org/2006/10/ttaf1#profile-dfxp")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:smpteMode</th>
- <td>6.2.8</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.8</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:smpteMode])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:smpteMode)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:smpteMode)'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:smpteMode="dropNTSC"</th>
- <td>6.2.8</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.8</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:smpteMode="dropNTSC"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:smpteMode[.="dropNTSC"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:smpteMode[.="dropNTSC"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:smpteMode="dropPAL"</th>
- <td>6.2.8</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.8</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:smpteMode="dropPAL"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:smpteMode[.="dropPAL"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:smpteMode[.="dropPAL"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:smpteMode="nonDrop"</th>
- <td>6.2.8</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.8</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:smpteMode="nonDrop"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:smpteMode[.="nonDrop"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:smpteMode[.="nonDrop"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:subFrameRate</th>
- <td>6.2.9</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.9</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:subFrameRate])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:subFrameRate)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:subFrameRate)'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:subFrameRate</th>
- <td>6.2.9</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.9</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:subFrameRate[matches(., "^\d+$")]])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:subFrameRate[matches(., "^\d+$")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:subFrameRate[matches(., "^\d+$")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:tickRate</th>
- <td>6.2.10</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.10</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:tickRate[matches(., "^\d+$")]])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:tickRate[matches(., "^\d+$")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:tickRate[matches(., "^\d+$")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:timeBase</th>
- <td>6.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:timeBase])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:timeBase)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:timeBase)'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:timeBase="media"</th>
- <td>6.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:timeBase="media"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:timeBase[.="media"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:timeBase[.="media"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:timeBase="smpte"</th>
- <td>6.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:timeBase="smpte"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:timeBase[.="smpte"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:timeBase[.="smpte"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttp:timeBase="clock"</th>
- <td>6.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>6.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttp:timeBase="clock"])'/></td>
- <td><xsl:value-of select='count($tests//@ttp:timeBase[.="clock"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttp:timeBase[.="clock"])'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:tt</th>
- <td>7.1.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.1.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt)'/></td>
- <td><xsl:value-of select='count($tests//tt:tt)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:tt)'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:head</th>
- <td>7.1.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.1.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:head])'/></td>
- <td><xsl:value-of select='count($tests//tt:head)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:head)'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:body</th>
- <td>7.1.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.1.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:body])'/></td>
- <td><xsl:value-of select='count($tests//tt:body)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:body)'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:div</th>
- <td>7.1.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.1.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:div])'/></td>
- <td><xsl:value-of select='count($tests//tt:div)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:div)'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:p</th>
- <td>7.1.5</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.1.5</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:p])'/></td>
- <td><xsl:value-of select='count($tests//tt:p)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:p)'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:span</th>
- <td>7.1.6</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.1.6</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:span])'/></td>
- <td><xsl:value-of select='count($tests//tt:span)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:span)'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:br</th>
- <td>7.1.7</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.1.7</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:br])'/></td>
- <td><xsl:value-of select='count($tests//tt:br)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:br)'/></xsl:call-template></td>
</tr>
<tr>
<th>@xml:id</th>
- <td>7.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@xml:id])'/></td>
- <td><xsl:value-of select='count($tests//@xml:id)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@xml:id)'/></xsl:call-template></td>
</tr>
<tr>
<th>@xml:lang</th>
- <td>7.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@xml:lang])'/></td>
- <td><xsl:value-of select='count($tests//@xml:lang)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@xml:lang)'/></xsl:call-template></td>
</tr>
<tr>
<th>@xml:space</th>
- <td>7.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@xml:space])'/></td>
- <td><xsl:value-of select='count($tests//@xml:space)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@xml:space)'/></xsl:call-template></td>
</tr>
<tr>
<th>@xml:space="default"</th>
- <td>7.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@xml:space="default"])'/></td>
- <td><xsl:value-of select='count($tests//@xml:space[.="default"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@xml:space[.="default"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@xml:space="preserve"</th>
- <td>7.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>7.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@xml:space="preserve"])'/></td>
- <td><xsl:value-of select='count($tests//@xml:space[.="preserve"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@xml:space[.="preserve"])'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:styling</th>
- <td>8.1.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.1.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:styling])'/></td>
- <td><xsl:value-of select='count($tests//tt:styling)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:styling)'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:style</th>
- <td>8.1.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.1.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:style])'/></td>
- <td><xsl:value-of select='count($tests//tt:style)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:style)'/></xsl:call-template></td>
</tr>
<tr>
<th>@style</th>
- <td>8.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@style])'/></td>
- <td><xsl:value-of select='count($tests//@style)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@style)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:backgroundColor</th>
- <td>8.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:backgroundColor])'/></td>
- <td><xsl:value-of select='count($tests//@tts:backgroundColor)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:backgroundColor)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:backgroundColor="<hash (rgb) color>"</th>
- <td>8.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:backgroundColor[t:isHRGBColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:backgroundColor[t:isHRGBColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:backgroundColor[t:isHRGBColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:backgroundColor="<hash (rgba) color>"</th>
- <td>8.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:backgroundColor[t:isHRGBAColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:backgroundColor[t:isHRGBAColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:backgroundColor[t:isHRGBAColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:backgroundColor="<RGB color>"</th>
- <td>8.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:backgroundColor[t:isRGBColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:backgroundColor[t:isRGBColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:backgroundColor[t:isRGBColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:backgroundColor="<RGBA color>"</th>
- <td>8.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:backgroundColor[t:isRGBAColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:backgroundColor[t:isRGBAColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:backgroundColor[t:isRGBAColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:backgroundColor="<named color>"</th>
- <td>8.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:backgroundColor[t:isNamedColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:backgroundColor[t:isNamedColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:backgroundColor[t:isNamedColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:backgroundColor="inherit"</th>
- <td>8.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:backgroundColor="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:backgroundColor[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:backgroundColor[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:color</th>
- <td>8.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:color])'/></td>
- <td><xsl:value-of select='count($tests//@tts:color)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:color)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:color="<hash (rgb) color>"</th>
- <td>8.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:color[t:isHRGBColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:color[t:isHRGBColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:color[t:isHRGBColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:color="<hash (rgba) color>"</th>
- <td>8.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:color[t:isHRGBAColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:color[t:isHRGBAColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:color[t:isHRGBAColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:color="<RGB color>"</th>
- <td>8.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:color[t:isRGBColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:color[t:isRGBColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:color[t:isRGBColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:color="<RGBA color>"</th>
- <td>8.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:color[t:isRGBAColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:color[t:isRGBAColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:color[t:isRGBAColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:color="<named color>"</th>
- <td>8.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:color[t:isNamedColor(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:color[t:isNamedColor(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:color[t:isNamedColor(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:color="inherit"</th>
- <td>8.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:color="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:color[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:color[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:direction</th>
- <td>8.2.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:direction])'/></td>
- <td><xsl:value-of select='count($tests//@tts:direction)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:direction)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:direction="ltr"</th>
- <td>8.2.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:direction="ltr"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:direction[.="ltr"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:direction[.="ltr"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:direction="rtl"</th>
- <td>8.2.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:direction="rtl"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:direction[.="rtl"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:direction[.="rtl"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:direction="inherit"</th>
- <td>8.2.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:direction="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:direction[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:direction[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:display</th>
- <td>8.2.5</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.5</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:display])'/></td>
- <td><xsl:value-of select='count($tests//@tts:display)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:display)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:display="auto"</th>
- <td>8.2.5</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.5</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:display="auto"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:display[.="auto"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:display[.="auto"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:display="none"</th>
- <td>8.2.5</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.5</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:display="none"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:display[.="none"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:display[.="none"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:display="inherit"</th>
- <td>8.2.5</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.5</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:display="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:display[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:display[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:displayAlign</th>
- <td>8.2.6</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.6</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:displayAlign])'/></td>
- <td><xsl:value-of select='count($tests//@tts:displayAlign)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:displayAlign)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:displayAlign="before"</th>
- <td>8.2.6</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.6</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:displayAlign="before"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:displayAlign[.="before"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:displayAlign[.="before"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:displayAlign="center"</th>
- <td>8.2.6</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.6</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:displayAlign="center"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:displayAlign[.="center"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:displayAlign[.="center"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:displayAlign="after"</th>
- <td>8.2.6</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.6</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:displayAlign="after"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:displayAlign[.="after"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:displayAlign[.="after"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:displayAlign="inherit"</th>
- <td>8.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.6</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:displayAlign="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:displayAlign[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:displayAlign[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:dynamicFlow</th>
- <td>8.2.7</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.7</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:dynamicFlow])'/></td>
- <td><xsl:value-of select='count($tests//@tts:dynamicFlow)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:dynamicFlow)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:dynamicFlow="none"</th>
- <td>8.2.7</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.7</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:dynamicFlow="none"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:dynamicFlow[.="none"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:dynamicFlow[.="none"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:dynamicFlow="<flowFunction>"</th>
- <td>8.2.7</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.7</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:dynamicFlow[t:isFlowFunction(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:dynamicFlow[t:isFlowFunction(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:dynamicFlow[t:isFlowFunction(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:dynamicFlow="<flowFunction>+ <flowInternalFunction>+"</th>
- <td>8.2.7</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.7</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:dynamicFlow[t:isDynamicFlow(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:dynamicFlow[t:isDynamicFlow(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:dynamicFlow[t:isDynamicFlow(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:extent</th>
- <td>8.2.8</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.8</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:extent])'/></td>
- <td><xsl:value-of select='count($tests//@tts:extent)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:extent)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:extent="auto"</th>
- <td>8.2.8</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.8</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:extent="auto"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:extent[.="auto"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:extent[.="auto"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:extent="<length> <length>"</th>
- <td>8.2.8</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.8</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:extent[t:isDoubleLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:extent[t:isDoubleLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:extent[t:isDoubleLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:extent="inherit"</th>
- <td>8.2.8</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.8</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:extent="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:extent[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:extent[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontFamily</th>
- <td>8.2.9</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.9</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontFamily])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontFamily)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontFamily)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontFamily="<familyName>"</th>
- <td>8.2.9</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.9</xsl:with-param></xsl:call-template></td>
<!-- @@TODO I don't handle quotes -->
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontFamily[matches(., "^[-a-zA-Z0-9\s]+$")]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontFamily[matches(., "^[-a-zA-Z0-9\s]+$")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontFamily[matches(., "^[-a-zA-Z0-9\s]+$")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontFamily="<familyName>(, <familyName>)+"</th>
- <td>8.2.9</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.9</xsl:with-param></xsl:call-template></td>
<!-- @@TODO I don't handle quotes -->
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontFamily[matches(., "^[-a-zA-Z0-9\s]+(, [-a-zA-Z0-9\s]+)+$")]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontFamily[matches(., "^[-a-zA-Z0-9\s]+(, [-a-zA-Z0-9\s]+)+$")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontFamily[matches(., "^[-a-zA-Z0-9\s]+(, [-a-zA-Z0-9\s]+)+$")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontSize</th>
- <td>8.2.10</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.10</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontSize])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontSize)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontSize)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontSize="<length>"</th>
- <td>8.2.10</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.10</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontSize[t:isLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontSize[t:isLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontSize[t:isLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontSize="<length> <length>"</th>
- <td>8.2.10</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.10</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontSize[t:isDoubleLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontSize[t:isDoubleLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontSize[t:isDoubleLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontSize="inherit"</th>
- <td>8.2.10</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.10</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontSize="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontSize[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontSize[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontStyle</th>
- <td>8.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontStyle])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontStyle)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontStyle)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontStyle="normal"</th>
- <td>8.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontStyle="normal"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontStyle[.="normal"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontStyle[.="normal"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontStyle="italic"</th>
- <td>8.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontStyle="italic"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontStyle[.="italic"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontStyle[.="italic"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontStyle="oblique"</th>
- <td>8.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontStyle="oblique"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontStyle[.="oblique"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontStyle[.="oblique"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontStyle="reverseOblique"</th>
- <td>8.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontStyle="reverseOblique"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontStyle[.="reverseOblique"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontStyle[.="reverseOblique"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontStyle="inherit"</th>
- <td>8.2.11</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.11</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontStyle="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontStyle[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontStyle[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontWeight</th>
- <td>8.2.12</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.12</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontWeight])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontWeight)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontWeight)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontWeight="normal"</th>
- <td>8.2.12</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.12</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontWeight="normal"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontWeight[.="normal"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontWeight[.="normal"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontWeight="bold"</th>
- <td>8.2.12</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.12</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontWeight="bold"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontWeight[.="bold"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontWeight[.="bold"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:fontWeight="inherit"</th>
- <td>8.2.12</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.12</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:fontWeight="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:fontWeight[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:fontWeight[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:lineHeight</th>
- <td>8.2.13</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.13</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:lineHeight])'/></td>
- <td><xsl:value-of select='count($tests//@tts:lineHeight)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:lineHeight)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:lineHeight="normal"</th>
- <td>8.2.13</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.13</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:lineHeight="normal"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:lineHeight[.="normal"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:lineHeight[.="normal"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:lineHeight="<length>"</th>
- <td>8.2.13</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.13</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:lineHeight[t:isLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:lineHeight[t:isLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:lineHeight[t:isLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:lineHeight="inherit"</th>
- <td>8.2.13</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.13</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:lineHeight="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:lineHeight[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:lineHeight[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:opacity</th>
- <td>8.2.14</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.14</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:opacity])'/></td>
- <td><xsl:value-of select='count($tests//@tts:opacity)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:opacity)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:opacity="<alpha>"</th>
- <td>8.2.14</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.14</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:opacity[t:isFloat(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:opacity[t:isFloat(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:opacity[t:isFloat(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:opacity="inherit"</th>
- <td>8.2.14</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.14</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:opacity="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:opacity[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:opacity[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:origin</th>
- <td>8.2.15</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.15</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:origin])'/></td>
- <td><xsl:value-of select='count($tests//@tts:origin)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:origin)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:origin="auto"</th>
- <td>8.2.15</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.15</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:origin="auto"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:origin[.="auto"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:origin[.="auto"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:origin="<length> <length>"</th>
- <td>8.2.15</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.15</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:origin[t:isDoubleLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:origin[t:isDoubleLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:origin[t:isDoubleLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:origin="inherit"</th>
- <td>8.2.15</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.15</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:origin="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:origin[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:origin[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:overflow</th>
- <td>8.2.16</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.16</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:overflow])'/></td>
- <td><xsl:value-of select='count($tests//@tts:overflow)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:overflow)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:overflow="visible"</th>
- <td>8.2.16</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.16</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:overflow="visible"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:overflow[.="visible"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:overflow[.="visible"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:overflow="hidden"</th>
- <td>8.2.16</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.16</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:overflow="hidden"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:overflow[.="hidden"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:overflow[.="hidden"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:overflow="scroll"</th>
- <td>8.2.16</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.16</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:overflow="scroll"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:overflow[.="scroll"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:overflow[.="scroll"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:overflow="inherit"</th>
- <td>8.2.16</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.16</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:overflow="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:overflow[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:overflow[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:padding</th>
- <td>8.2.17</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.17</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:padding])'/></td>
- <td><xsl:value-of select='count($tests//@tts:padding)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:padding)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:padding="<length>"</th>
- <td>8.2.17</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.17</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:padding[t:isLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:padding[t:isLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:padding[t:isLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:padding="<length> <length>"</th>
- <td>8.2.17</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.17</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:padding[t:isDoubleLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:padding[t:isDoubleLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:padding[t:isDoubleLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:padding="<length> <length> <length>"</th>
- <td>8.2.17</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.17</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:padding[t:isTripleLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:padding[t:isTripleLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:padding[t:isTripleLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:padding="<length> <length> <length> <length>"</th>
- <td>8.2.17</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.17</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:padding[t:isQuadrupleLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:padding[t:isQuadrupleLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:padding[t:isQuadrupleLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:padding="inherit"</th>
- <td>8.2.17</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.17</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:padding="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:padding[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:padding[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:showBackground</th>
- <td>8.2.18</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.18</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:showBackground])'/></td>
- <td><xsl:value-of select='count($tests//@tts:showBackground)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:showBackground)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:showBackground="always"</th>
- <td>8.2.18</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.18</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:showBackground="always"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:showBackground[.="always"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:showBackground[.="always"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:showBackground="whenActive"</th>
- <td>8.2.18</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.18</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:showBackground="whenActive"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:showBackground[.="whenActive"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:showBackground[.="whenActive"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:showBackground="inherit"</th>
- <td>8.2.18</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.18</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:showBackground="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:showBackground[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:showBackground[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textAlign</th>
- <td>8.2.19</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.19</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textAlign])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textAlign)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textAlign)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textAlign="left"</th>
- <td>8.2.19</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.19</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textAlign="left"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textAlign[.="left"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textAlign[.="left"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textAlign="center"</th>
- <td>8.2.19</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.19</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textAlign="center"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textAlign[.="center"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textAlign[.="center"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textAlign="right"</th>
- <td>8.2.19</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.19</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textAlign="right"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textAlign[.="right"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textAlign[.="right"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textAlign="start"</th>
- <td>8.2.19</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.19</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textAlign="start"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textAlign[.="start"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textAlign[.="start"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textAlign="end"</th>
- <td>8.2.19</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.19</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textAlign="end"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textAlign[.="end"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textAlign[.="end"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textAlign="inherit"</th>
- <td>8.2.19</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.19</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textAlign="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textAlign[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textAlign[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textDecoration</th>
- <td>8.2.20</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textDecoration="none"</th>
- <td>8.2.20</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="none"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[.="none"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[.="none"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textDecoration="underline"</th>
- <td>8.2.20</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="underline"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[.="underline"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[.="underline"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textDecoration="noUnderline"</th>
- <td>8.2.20</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="noUnderline"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[.="noUnderline"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[.="noUnderline"])'/></xsl:call-template></td>
</tr>
<tr>
- <th>@tts:textDecoration="throughline"</th>
- <td>8.2.20</td>
- <td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="throughline"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[.="throughline"])'/></td>
+ <th>@tts:textDecoration="lineThrough"</th>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
+ <td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="lineThrough"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[.="lineThrough"])'/></xsl:call-template></td>
</tr>
<tr>
- <th>@tts:textDecoration="noThroughline"</th>
- <td>8.2.20</td>
- <td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="noThroughline"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[.="noThroughline"])'/></td>
+ <th>@tts:textDecoration="noLineThrough"</th>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
+ <td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="noLineThrough"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[.="noLineThrough"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textDecoration="overline"</th>
- <td>8.2.20</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="overline"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[.="overline"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[.="overline"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textDecoration="noOverline"</th>
- <td>8.2.20</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="noOverline"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[.="noOverline"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[.="noOverline"])'/></xsl:call-template></td>
</tr>
<tr>
- <th>@tts:textDecoration="(underline|throughline|overline){2}"</th>
- <td>8.2.20</td>
- <td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration[matches(., "(underline|throughline|overline) (underline|throughline|overline)")]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[matches(., "(underline|throughline|overline) (underline|throughline|overline)")])'/></td>
+ <th>@tts:textDecoration="(underline|lineThrough|overline){2}"</th>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
+ <td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration[matches(., "(underline|lineThrough|overline) (underline|lineThrough|overline)")]])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[matches(., "(underline|lineThrough|overline) (underline|lineThrough|overline)")])'/></xsl:call-template></td>
</tr>
<tr>
- <th>@tts:textDecoration="(underline|throughline|overline){3}"</th>
- <td>8.2.20</td>
- <td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration[matches(., "(underline|throughline|overline) (underline|throughline|overline) (underline|throughline|overline)")]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[matches(., "(underline|throughline|overline) (underline|throughline|overline) (underline|throughline|overline)")])'/></td>
+ <th>@tts:textDecoration="(underline|lineThrough|overline){3}"</th>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
+ <td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration[matches(., "(underline|lineThrough|overline) (underline|lineThrough|overline) (underline|lineThrough|overline)")]])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[matches(., "(underline|lineThrough|overline) (underline|lineThrough|overline) (underline|lineThrough|overline)")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textDecoration="inherit"</th>
- <td>8.2.20</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.20</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textDecoration="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textDecoration[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textDecoration[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textOutline</th>
- <td>8.2.21</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.21</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textOutline])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textOutline)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textOutline)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textOutline="none"</th>
- <td>8.2.21</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.21</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textOutline="none"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textOutline[.="none"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textOutline[.="none"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textOutline="<length>"</th>
- <td>8.2.21</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.21</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textOutline[t:isLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textOutline[t:isLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textOutline[t:isLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textOutline="<length> <length>"</th>
- <td>8.2.21</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.21</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textOutline[t:isDoubleLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textOutline[t:isDoubleLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textOutline[t:isDoubleLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textOutline="<color> <length>"</th>
- <td>8.2.21</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.21</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textOutline[t:isColorLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textOutline[t:isColorLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textOutline[t:isColorLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textOutline="<color> <length> <length>"</th>
- <td>8.2.21</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.21</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textOutline[t:isColorDoubleLength(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textOutline[t:isColorDoubleLength(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textOutline[t:isColorDoubleLength(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:textOutline="inherit"</th>
- <td>8.2.21</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.21</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:textOutline="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:textOutline[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:textOutline[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:unicodeBidi</th>
- <td>8.2.22</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.22</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:unicodeBidi])'/></td>
- <td><xsl:value-of select='count($tests//@tts:unicodeBidi)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:unicodeBidi)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:unicodeBidi="normal"</th>
- <td>8.2.22</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.22</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:unicodeBidi="normal"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:unicodeBidi[.="normal"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:unicodeBidi[.="normal"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:unicodeBidi="embed"</th>
- <td>8.2.22</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.22</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:unicodeBidi="embed"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:unicodeBidi[.="embed"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:unicodeBidi[.="embed"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:unicodeBidi="bidiOverride"</th>
- <td>8.2.22</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.22</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:unicodeBidi="bidiOverride"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:unicodeBidi[.="bidiOverride"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:unicodeBidi[.="bidiOverride"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:unicodeBidi="inherit"</th>
- <td>8.2.22</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.22</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:unicodeBidi="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:unicodeBidi[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:unicodeBidi[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:visibility</th>
- <td>8.2.23</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.23</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:visibility])'/></td>
- <td><xsl:value-of select='count($tests//@tts:visibility)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:visibility)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:visibility="visible"</th>
- <td>8.2.23</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.23</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:visibility="visible"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:visibility[.="visible"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:visibility[.="visible"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:visibility="hidden"</th>
- <td>8.2.23</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.23</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:visibility="hidden"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:visibility[.="hidden"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:visibility[.="hidden"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:visibility="inherit"</th>
- <td>8.2.23</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.23</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:visibility="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:visibility[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:visibility[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:wrapOption</th>
- <td>8.2.24</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.24</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:wrapOption])'/></td>
- <td><xsl:value-of select='count($tests//@tts:wrapOption)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:wrapOption)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:wrapOption="wrap"</th>
- <td>8.2.24</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.24</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:wrapOption="wrap"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:wrapOption[.="wrap"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:wrapOption[.="wrap"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:wrapOption="noWrap"</th>
- <td>8.2.24</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.24</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:wrapOption="noWrap"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:wrapOption[.="noWrap"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:wrapOption[.="noWrap"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:wrapOption="inherit"</th>
- <td>8.2.24</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.24</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:wrapOption="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:wrapOption[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:wrapOption[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:writingMode</th>
- <td>8.2.25</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.25</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:writingMode])'/></td>
- <td><xsl:value-of select='count($tests//@tts:writingMode)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:writingMode)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:writingMode="lrtb"</th>
- <td>8.2.25</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.25</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:writingMode="lrtb"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:writingMode[.="lrtb"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:writingMode[.="lrtb"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:writingMode="rltb"</th>
- <td>8.2.25</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.25</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:writingMode="rltb"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:writingMode[.="rltb"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:writingMode[.="rltb"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:writingMode="tbrl"</th>
- <td>8.2.25</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.25</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:writingMode="tbrl"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:writingMode[.="tbrl"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:writingMode[.="tbrl"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:writingMode="tblr"</th>
- <td>8.2.25</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.25</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:writingMode="tblr"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:writingMode[.="tblr"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:writingMode[.="tblr"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:writingMode="lr"</th>
- <td>8.2.25</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.25</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:writingMode="lr"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:writingMode[.="lr"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:writingMode[.="lr"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:writingMode="rl"</th>
- <td>8.2.25</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.25</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:writingMode="rl"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:writingMode[.="rl"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:writingMode[.="rl"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:writingMode="tb"</th>
- <td>8.2.25</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.25</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:writingMode="tb"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:writingMode[.="tb"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:writingMode[.="tb"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:writingMode="inherit"</th>
- <td>8.2.25</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.25</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:writingMode="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:writingMode[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:writingMode[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:zIndex</th>
- <td>8.2.26</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.26</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:zIndex])'/></td>
- <td><xsl:value-of select='count($tests//@tts:zIndex)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:zIndex)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:zIndex="auto"</th>
- <td>8.2.26</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.26</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:zIndex="auto"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:zIndex[.="auto"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:zIndex[.="auto"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:zIndex="<integer>"</th>
- <td>8.2.26</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.26</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:zIndex[matches(., "^(\+|-)?\d+$")]])'/></td>
- <td><xsl:value-of select='count($tests//@tts:zIndex[matches(., "^(\+|-)?\d+$")])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:zIndex[matches(., "^(\+|-)?\d+$")])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:zIndex="inherit"</th>
- <td>8.2.26</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>8.2.26</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:zIndex="inherit"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:zIndex[.="inherit"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:zIndex[.="inherit"])'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:layout</th>
- <td>9.1.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>9.1.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:layout])'/></td>
- <td><xsl:value-of select='count($tests//tt:layout)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:layout)'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:region</th>
- <td>9.1.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>9.1.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:region])'/></td>
- <td><xsl:value-of select='count($tests//tt:region)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:region)'/></xsl:call-template></td>
</tr>
<tr>
<th>@region</th>
- <td>9.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>9.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@region])'/></td>
- <td><xsl:value-of select='count($tests//@region)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@region)'/></xsl:call-template></td>
</tr>
<tr>
<th>@begin</th>
- <td>10.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@begin])'/></td>
- <td><xsl:value-of select='count($tests//@begin)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@begin)'/></xsl:call-template></td>
</tr>
<tr>
<th>@begin="<clock-time>"</th>
- <td>10.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@begin[t:isClockTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@begin[t:isClockTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@begin[t:isClockTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@begin="<offset-time>h"</th>
- <td>10.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@begin[t:isHTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@begin[t:isHTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@begin[t:isHTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@begin="<offset-time>m"</th>
- <td>10.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@begin[t:isMTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@begin[t:isMTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@begin[t:isMTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@begin="<offset-time>s"</th>
- <td>10.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@begin[t:isSTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@begin[t:isSTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@begin[t:isSTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@begin="<offset-time>ms"</th>
- <td>10.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@begin[t:isMSTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@begin[t:isMSTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@begin[t:isMSTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@begin="<offset-time>f"</th>
- <td>10.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@begin[t:isFTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@begin[t:isFTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@begin[t:isFTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@begin="<offset-time>t"</th>
- <td>10.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@begin[t:isTTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@begin[t:isTTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@begin[t:isTTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@end</th>
- <td>10.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@end])'/></td>
- <td><xsl:value-of select='count($tests//@end)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@end)'/></xsl:call-template></td>
</tr>
<tr>
<th>@end="<clock-time>"</th>
- <td>10.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@end[t:isClockTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@end[t:isClockTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@end[t:isClockTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@end="<offset-time>"</th>
- <td>10.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@end[t:isOffsetTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@end[t:isOffsetTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@end[t:isOffsetTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@dur</th>
- <td>10.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@dur])'/></td>
- <td><xsl:value-of select='count($tests//@dur)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@dur)'/></xsl:call-template></td>
</tr>
<tr>
<th>@dur="<clock-time>"</th>
- <td>10.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@dur[t:isClockTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@dur[t:isClockTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@dur[t:isClockTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@dur="<offset-time>"</th>
- <td>10.2.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@dur[t:isOffsetTime(.)]])'/></td>
- <td><xsl:value-of select='count($tests//@dur[t:isOffsetTime(.)])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@dur[t:isOffsetTime(.)])'/></xsl:call-template></td>
</tr>
<tr>
<th>@timeContainer</th>
- <td>10.2.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@timeContainer])'/></td>
- <td><xsl:value-of select='count($tests//@timeContainer)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@timeContainer)'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:timeContainer="par"</th>
- <td>10.2.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:timeContainer="par"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:timeContainer[.="par"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:timeContainer[.="par"])'/></xsl:call-template></td>
</tr>
<tr>
<th>@tts:timeContainer="seq"</th>
- <td>10.2.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>10.2.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@tts:timeContainer="seq"])'/></td>
- <td><xsl:value-of select='count($tests//@tts:timeContainer[.="seq"])'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@tts:timeContainer[.="seq"])'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:set</th>
- <td>11.1.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>11.1.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:set])'/></td>
- <td><xsl:value-of select='count($tests//tt:set)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:set)'/></xsl:call-template></td>
</tr>
<tr>
<th>tt:metadata</th>
- <td>12.1.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>12.1.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//tt:metadata])'/></td>
- <td><xsl:value-of select='count($tests//tt:metadata)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//tt:metadata)'/></xsl:call-template></td>
</tr>
<tr>
<th>ttm:title</th>
- <td>12.1.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>12.1.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//ttm:title])'/></td>
- <td><xsl:value-of select='count($tests//ttm:title)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//ttm:title)'/></xsl:call-template></td>
</tr>
<tr>
<th>ttm:desc</th>
- <td>12.1.3</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>12.1.3</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//ttm:desc])'/></td>
- <td><xsl:value-of select='count($tests//ttm:desc)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//ttm:desc)'/></xsl:call-template></td>
</tr>
<tr>
<th>ttm:copyright</th>
- <td>12.1.4</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>12.1.4</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//ttm:copyright])'/></td>
- <td><xsl:value-of select='count($tests//ttm:copyright)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//ttm:copyright)'/></xsl:call-template></td>
</tr>
<tr>
<th>ttm:agent</th>
- <td>12.1.5</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>12.1.5</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//ttm:agent])'/></td>
- <td><xsl:value-of select='count($tests//ttm:agent)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//ttm:agent)'/></xsl:call-template></td>
</tr>
<tr>
<th>ttm:name</th>
- <td>12.1.6</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>12.1.6</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//ttm:name])'/></td>
- <td><xsl:value-of select='count($tests//ttm:name)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//ttm:name)'/></xsl:call-template></td>
</tr>
<tr>
<th>ttm:actor</th>
- <td>12.1.7</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>12.1.7</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//ttm:actor])'/></td>
- <td><xsl:value-of select='count($tests//ttm:actor)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//ttm:actor)'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttm:agent</th>
- <td>12.2.1</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>12.2.1</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttm:agent])'/></td>
- <td><xsl:value-of select='count($tests//@ttm:agent)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttm:agent)'/></xsl:call-template></td>
</tr>
<tr>
<th>@ttm:role</th>
- <td>12.2.2</td>
+ <td><xsl:call-template name='toc'><xsl:with-param name='section'>12.2.2</xsl:with-param></xsl:call-template></td>
<td><xsl:value-of select='count($tests/tt:tt[.//@ttm:role])'/></td>
- <td><xsl:value-of select='count($tests//@ttm:role)'/></td>
+ <td><xsl:call-template name='display'><xsl:with-param name='n' select='count($tests//@ttm:role)'/></xsl:call-template></td>
</tr> </tbody>
</table>
+ </div>
+ </div>
</body>
</html>
</xsl:template>
+ <xsl:template name='toc'>
+ <xsl:param name='section'/>
+ <a>
+ <xsl:attribute name='href'>
+ <xsl:value-of select='resolve-uri($entries//r:entry[@section=$section]/@href, $entries/r:entries/@xml:base)' />
+ </xsl:attribute>
+ <xsl:value-of select='$section'/>
+ </a>
+ </xsl:template>
+
+ <xsl:template name='display'>
+ <xsl:param name='n'/>
+ <xsl:choose>
+ <xsl:when test='$n = 0'>
+ <xsl:attribute name='class'>notest</xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name='class'>gotest</xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:value-of select='$n'/>
+ </xsl:template>
+
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>