|
16 | 16 |
|
17 | 17 | <p>Total Score: <xsl:value-of select="./@score"/> out of <xsl:value-of select="./@col-max-score"/></p> |
18 | 18 | <p>Score percentage: <xsl:value-of select="format-number(./@score-percentage,'##.#%')"/></p> |
19 | | - <p>Average Score: <xsl:value-of select="./@avg-score"/> out of <xsl:value-of select="./@ins-max-score"/></p> |
20 | | - <p>Maximal score in collection: <xsl:value-of select="./@max-score"/></p> |
21 | | - <p>Minimal score in collection: <xsl:value-of select="./@min-score"/></p> |
| 19 | + <p>Average Score: <xsl:value-of select="format-number(./@avg-score,'##.##')"/> out of <xsl:value-of select="format-number(./@ins-max-score,'##.##')"/></p> |
| 20 | + <p>Maximal score in collection: <xsl:value-of select="format-number(./@max-score,'##.##')"/></p> |
| 21 | + <p>Minimal score in collection: <xsl:value-of select="format-number(./@min-score,'##.##')"/></p> |
22 | 22 |
|
23 | 23 | <hr/> |
24 | 24 |
|
|
57 | 57 | <xsl:variable name="profileID"><xsl:value-of select="./@name"/></xsl:variable> |
58 | 58 | <tr> |
59 | 59 | <td><a href="#!ResultView/profile/id/{$profileID}"><xsl:copy-of select="$profileID"/></a></td> |
60 | | - <td><xsl:value-of select="./@score"/></td> |
61 | | - <td><xsl:value-of select="./@count"/></td> |
| 60 | + <td class="v-align-right"><xsl:value-of select="format-number(./@score,'##.##')"/></td> |
| 61 | + <td class="v-align-right"><xsl:value-of select="./@count"/></td> |
62 | 62 | </tr> |
63 | 63 | </xsl:for-each> |
64 | 64 | </tbody> |
|
81 | 81 | <xsl:for-each select="./facet-section/facets/facet"> |
82 | 82 | <tr> |
83 | 83 | <td><xsl:value-of select="./@name"/></td> |
84 | | - <td><xsl:value-of select="./@coverage"/></td> |
| 84 | + <td class="v-align-right"><xsl:value-of select="format-number(./@coverage,'##.#%')"/></td> |
85 | 85 | </tr> |
86 | 86 | </xsl:for-each> |
87 | 87 | </tbody> |
|
91 | 91 |
|
92 | 92 | <h2>ResourceProxy Section</h2> |
93 | 93 | <p>Total number of resource proxies: <xsl:value-of select="./resProxy-section/totNumOfResProxies"/></p> |
94 | | - <p>Average number of resource proxies: <xsl:value-of select="./resProxy-section/avgNumOfResProxies"/></p> |
| 94 | + <p>Average number of resource proxies: <xsl:value-of select="format-number(./resProxy-section/avgNumOfResProxies,'##.##')"/></p> |
95 | 95 | <p>Total number of resource proxies with MIME: <xsl:value-of select="./resProxy-section/totNumOfResourcesWithMime"/></p> |
96 | | - <p>Average number of resource proxies with MIME: <xsl:value-of select="./resProxy-section/avgNumOfResourcesWithMime"/></p> |
| 96 | + <p>Average number of resource proxies with MIME: <xsl:value-of select="format-number(./resProxy-section/avgNumOfResourcesWithMime,'##.##')"/></p> |
97 | 97 | <p>Total number of resource proxies with reference: <xsl:value-of select="./resProxy-section/totNumOfResProxiesWithReferences"/></p> |
98 | | - <p>Average number of resource proxies with references: <xsl:value-of select="./resProxy-section/avgNumOfResProxiesWithReferences"/></p> |
| 98 | + <p>Average number of resource proxies with references: <xsl:value-of select="format-number(./resProxy-section/avgNumOfResProxiesWithReferences,'##.##')"/></p> |
99 | 99 |
|
100 | 100 | <hr/> |
101 | 101 |
|
|
117 | 117 |
|
118 | 118 | <h2>XML Populated Section</h2> |
119 | 119 | <p>Total number of XML elements: <xsl:value-of select="./xml-populated-section/totNumOfXMLElements"/></p> |
120 | | - <p>Average number of XML elements: <xsl:value-of select="./xml-populated-section/avgNumOfXMLElements"/></p> |
| 120 | + <p>Average number of XML elements: <xsl:value-of select="format-number(./xml-populated-section/avgNumOfXMLElements,'##.##')"/></p> |
121 | 121 | <p>Total number of simple XML elements: <xsl:value-of select="./xml-populated-section/totNumOfXMLSimpleElements"/></p> |
122 | | - <p>Average number of simple XML elements: <xsl:value-of select="./xml-populated-section/avgNumOfXMLSimpleElements"/></p> |
| 122 | + <p>Average number of simple XML elements: <xsl:value-of select="format-number(./xml-populated-section/avgNumOfXMLSimpleElements,'##.##')"/></p> |
123 | 123 | <p>Total number of empty XML elements: <xsl:value-of select="./xml-populated-section/totNumOfXMLEmptyElement"/></p> |
124 | | - <p>Average number of empty XML elements: <xsl:value-of select="./xml-populated-section/avgXMLEmptyElement"/></p> |
| 124 | + <p>Average number of empty XML elements: <xsl:value-of select="format-number(./xml-populated-section/avgXMLEmptyElement,'##.##')"/></p> |
125 | 125 | <p>Average rate of populated elements: <xsl:value-of select="format-number(./xml-populated-section/avgRateOfPopulatedElements,'##.#%')"/></p> |
126 | 126 |
|
127 | 127 | <hr/> |
128 | 128 |
|
129 | 129 | <h2>URL Validation Section</h2> |
130 | 130 | <p>Total number of links: <xsl:value-of select="./url-validation-section/totNumOfLinks"/></p> |
131 | | - <p>Average number of links: <xsl:value-of select="./url-validation-section/avgNumOfLinks"/></p> |
| 131 | + <p>Average number of links: <xsl:value-of select="format-number(./url-validation-section/avgNumOfLinks,'##.##')"/></p> |
132 | 132 | <p>Total number of unique links: <xsl:value-of select="./url-validation-section/totNumOfUniqueLinks"/></p> |
133 | 133 | <p>Total number of checked links: <xsl:value-of select="./url-validation-section/totNumOfCheckedLinks"/></p> |
134 | 134 | <p>Total number of undetermined links: <xsl:value-of select="./url-validation-section/totNumOfUndeterminedLinks"/></p> |
135 | | - <p>Average number of unique links: <xsl:value-of select="./url-validation-section/avgNumOfUniqueLinks"/></p> |
| 135 | + <p>Average number of unique links: <xsl:value-of select="format-number(./url-validation-section/avgNumOfUniqueLinks,'##.##')"/></p> |
136 | 136 | <!--<p>Total number of resourceProxy links: <xsl:value-of select="./url-validation-section/totNumOfResProxiesLinks"/></p>--> |
137 | 137 | <!--<p>Average number of resourceProxy links: <xsl:value-of select="./url-validation-section/avgNumOfResProxiesLinks"/></p>--> |
138 | 138 | <p>Total number of broken links: <xsl:value-of select="./url-validation-section/totNumOfBrokenLinks"/></p> |
139 | | - <p>Average number of broken links: <xsl:value-of select="./url-validation-section/avgNumOfBrokenLinks"/></p> |
| 139 | + <p>Average number of broken links: <xsl:value-of select="format-number(./url-validation-section/avgNumOfBrokenLinks,'##.##')"/></p> |
140 | 140 | <p>Ratio of valid links: <xsl:value-of select="format-number(./url-validation-section/ratioOfValidLinks,'##.#%')"/></p> |
141 | 141 |
|
142 | 142 |
|
|
0 commit comments