Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 1 | <xsl:stylesheet version="1.0" |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 2 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 3 | xmlns:nfd="ndn:/localhost/nfd/status/1"> |
Joao Pereira | 4e274ac | 2015-07-23 11:54:20 -0400 | [diff] [blame] | 4 | <xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat"/> |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 5 | |
| 6 | <xsl:template match="/"> |
| 7 | <html> |
| 8 | <head> |
| 9 | <title>NFD Status</title> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 10 | <link rel="stylesheet" type="text/css" href="style.css" /> |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 11 | </head> |
| 12 | <body> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 13 | <header> |
| 14 | <h1>NFD Status</h1> |
| 15 | </header> |
| 16 | <article> |
| 17 | <div id="content"> |
| 18 | <xsl:apply-templates/> |
| 19 | </div> |
| 20 | </article> |
| 21 | <footer> |
| 22 | <xsl:variable name="version"> |
| 23 | <xsl:apply-templates select="nfd:nfdStatus/nfd:generalStatus/nfd:version"/> |
| 24 | </xsl:variable> |
Alexander Afanasyev | d7bb88b | 2015-01-26 18:59:29 -0800 | [diff] [blame] | 25 | <span class="grey">Powered by </span><a target="_blank" href="http://named-data.net/doc/NFD/"><span class="green">NFD version <xsl:value-of select="$version"/></span></a><span class="grey">.</span> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 26 | </footer> |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 27 | </body> |
| 28 | </html> |
| 29 | </xsl:template> |
| 30 | |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 31 | |
| 32 | <xsl:template name="formatDate"> |
| 33 | <xsl:param name="date" /> |
| 34 | <xsl:value-of select="substring($date, 0, 11)"/> <xsl:value-of select="substring($date, 12, 8)"/> |
| 35 | </xsl:template> |
| 36 | |
| 37 | <xsl:template name="formatDuration"> |
| 38 | <xsl:param name="duration" /> |
| 39 | <xsl:variable name="seconds"><xsl:value-of select="substring($duration, 3, string-length($duration)-3)" /></xsl:variable> |
Chengyu Fan | a55663d | 2014-08-13 20:31:03 -0600 | [diff] [blame] | 40 | <xsl:variable name="days"><xsl:value-of select="floor($seconds div 86400)" /></xsl:variable> |
| 41 | <xsl:variable name="hours"><xsl:value-of select="floor($seconds div 3600)" /></xsl:variable> |
| 42 | <xsl:variable name="minutes"><xsl:value-of select="floor($seconds div 60)" /></xsl:variable> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 43 | <xsl:choose> |
Chengyu Fan | a55663d | 2014-08-13 20:31:03 -0600 | [diff] [blame] | 44 | <xsl:when test="$days = 1"> |
| 45 | <xsl:value-of select="$days"/> day |
| 46 | </xsl:when> |
| 47 | <xsl:when test="$days > 1"> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 48 | <xsl:value-of select="$days"/> days |
| 49 | </xsl:when> |
Chengyu Fan | a55663d | 2014-08-13 20:31:03 -0600 | [diff] [blame] | 50 | <xsl:when test="$hours = 1"> |
| 51 | <xsl:value-of select="$hours"/> hour |
| 52 | </xsl:when> |
| 53 | <xsl:when test="$hours > 1"> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 54 | <xsl:value-of select="$hours"/> hours |
| 55 | </xsl:when> |
Chengyu Fan | a55663d | 2014-08-13 20:31:03 -0600 | [diff] [blame] | 56 | <xsl:when test="$minutes = 1"> |
| 57 | <xsl:value-of select="$minutes"/> minute |
| 58 | </xsl:when> |
| 59 | <xsl:when test="$minutes > 1"> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 60 | <xsl:value-of select="$minutes"/> minutes |
| 61 | </xsl:when> |
Chengyu Fan | a55663d | 2014-08-13 20:31:03 -0600 | [diff] [blame] | 62 | <xsl:when test="$seconds = 1"> |
| 63 | <xsl:value-of select="$seconds"/> second |
| 64 | </xsl:when> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 65 | <xsl:otherwise> |
| 66 | <xsl:value-of select="$seconds"/> seconds |
| 67 | </xsl:otherwise> |
| 68 | </xsl:choose> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 69 | </xsl:template> |
| 70 | |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 71 | <xsl:template match="nfd:generalStatus"> |
| 72 | <h2>General NFD status</h2> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 73 | <table class="item-list"> |
| 74 | <thead> |
| 75 | <tr> |
Chengyu Fan | 8a53caf | 2014-08-01 14:08:37 -0600 | [diff] [blame] | 76 | <th>NFD ID</th> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 77 | <th>Version</th> |
| 78 | <th>Start time</th> |
| 79 | <th>Current time</th> |
| 80 | <th>Uptime</th> |
| 81 | <th>NameTree Entries</th> |
| 82 | <th>FIB entries</th> |
| 83 | <th>PIT entries</th> |
| 84 | <th>Measurements entries</th> |
| 85 | <th>CS entries</th> |
| 86 | <th>In Interests</th> |
| 87 | <th>Out Interests</th> |
| 88 | <th>In Data</th> |
| 89 | <th>Out Data</th> |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 90 | <th>In Nacks</th> |
| 91 | <th>Out Nacks</th> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 92 | </tr> |
| 93 | </thead> |
| 94 | <tbody> |
| 95 | <tr class="center"> |
Chengyu Fan | 8a53caf | 2014-08-01 14:08:37 -0600 | [diff] [blame] | 96 | <td><xsl:apply-templates select="nfd:nfdId"/></td> |
Hila Ben Abraham | 2ef9957 | 2014-12-02 02:45:51 -0600 | [diff] [blame] | 97 | <td><xsl:value-of select="nfd:version"/></td> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 98 | <td><xsl:call-template name="formatDate"><xsl:with-param name="date" select="nfd:startTime" /></xsl:call-template></td> |
| 99 | <td><xsl:call-template name="formatDate"><xsl:with-param name="date" select="nfd:currentTime" /></xsl:call-template></td> |
| 100 | <td><xsl:call-template name="formatDuration"><xsl:with-param name="duration" select="nfd:uptime" /></xsl:call-template></td> |
| 101 | <td><xsl:value-of select="nfd:nNameTreeEntries"/></td> |
| 102 | <td><xsl:value-of select="nfd:nFibEntries"/></td> |
| 103 | <td><xsl:value-of select="nfd:nPitEntries"/></td> |
| 104 | <td><xsl:value-of select="nfd:nMeasurementsEntries"/></td> |
| 105 | <td><xsl:value-of select="nfd:nCsEntries"/></td> |
| 106 | <td><xsl:value-of select="nfd:packetCounters/nfd:incomingPackets/nfd:nInterests"/></td> |
| 107 | <td><xsl:value-of select="nfd:packetCounters/nfd:outgoingPackets/nfd:nInterests"/></td> |
Junxiao Shi | f03d479 | 2017-04-06 16:41:22 +0000 | [diff] [blame] | 108 | <td><xsl:value-of select="nfd:packetCounters/nfd:incomingPackets/nfd:nData"/></td> |
| 109 | <td><xsl:value-of select="nfd:packetCounters/nfd:outgoingPackets/nfd:nData"/></td> |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 110 | <td><xsl:value-of select="nfd:packetCounters/nfd:incomingPackets/nfd:nNacks"/></td> |
| 111 | <td><xsl:value-of select="nfd:packetCounters/nfd:outgoingPackets/nfd:nNacks"/></td> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 112 | </tr> |
| 113 | </tbody> |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 114 | </table> |
| 115 | </xsl:template> |
| 116 | |
| 117 | <xsl:template match="nfd:channels"> |
| 118 | <h2>Channels</h2> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 119 | <table class="item-list"> |
| 120 | <thead> |
| 121 | <tr> |
| 122 | <th>Channel URI</th> |
| 123 | </tr> |
| 124 | </thead> |
| 125 | <tbody> |
| 126 | <xsl:for-each select="nfd:channel"> |
| 127 | <xsl:variable name="style"> |
| 128 | <xsl:choose> |
| 129 | <xsl:when test="position() mod 2 = 1"> |
| 130 | <xsl:text>odd</xsl:text> |
| 131 | </xsl:when> |
| 132 | <xsl:otherwise>even</xsl:otherwise> |
| 133 | </xsl:choose> |
| 134 | </xsl:variable> |
| 135 | <tr class="{$style}"> |
| 136 | <td><xsl:value-of select="nfd:localUri"/></td> |
| 137 | </tr> |
| 138 | </xsl:for-each> |
| 139 | </tbody> |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 140 | </table> |
| 141 | </xsl:template> |
| 142 | |
| 143 | <xsl:template match="nfd:faces"> |
| 144 | <h2>Faces</h2> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 145 | <table class="item-list"> |
| 146 | <thead> |
| 147 | <tr> |
| 148 | <th>Face ID</th> |
| 149 | <th>Remote URI</th> |
| 150 | <th>Local URI</th> |
Chengyu Fan | 27d570a | 2014-10-09 11:52:17 -0600 | [diff] [blame] | 151 | <th>Scope</th> |
| 152 | <th>Persistency</th> |
| 153 | <th>LinkType</th> |
Eric Newberry | 6d932e8 | 2016-11-24 05:05:43 +0000 | [diff] [blame] | 154 | <th>Flags</th> |
Chengyu Fan | 6717964 | 2014-08-15 16:00:43 -0600 | [diff] [blame] | 155 | <th>Expires in</th> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 156 | <th>In Interests</th> |
| 157 | <th>In Data</th> |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 158 | <th>In Nacks</th> |
Chengyu Fan | 3331cfa | 2014-07-25 17:36:31 -0600 | [diff] [blame] | 159 | <th>In Bytes</th> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 160 | <th>Out Interests</th> |
| 161 | <th>Out Data</th> |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 162 | <th>Out Nacks</th> |
Chengyu Fan | 3331cfa | 2014-07-25 17:36:31 -0600 | [diff] [blame] | 163 | <th>Out Bytes</th> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 164 | </tr> |
| 165 | </thead> |
| 166 | <tbody> |
| 167 | <xsl:for-each select="nfd:face"> |
| 168 | <xsl:variable name="style"> |
| 169 | <xsl:choose> |
| 170 | <xsl:when test="position() mod 2 = 1"> |
| 171 | <xsl:text>odd</xsl:text> |
| 172 | </xsl:when> |
| 173 | <xsl:otherwise>even</xsl:otherwise> |
| 174 | </xsl:choose> |
| 175 | </xsl:variable> |
| 176 | <tr class="{$style}"> |
| 177 | <td><xsl:value-of select="nfd:faceId"/></td> |
| 178 | <td><xsl:value-of select="nfd:remoteUri"/></td> |
| 179 | <td><xsl:value-of select="nfd:localUri"/></td> |
Chengyu Fan | 27d570a | 2014-10-09 11:52:17 -0600 | [diff] [blame] | 180 | <td><xsl:value-of select="nfd:faceScope"/></td> |
| 181 | <td><xsl:value-of select="nfd:facePersistency"/></td> |
| 182 | <td><xsl:value-of select="nfd:linkType"/></td> |
Chengyu Fan | 6717964 | 2014-08-15 16:00:43 -0600 | [diff] [blame] | 183 | <td> |
| 184 | <xsl:choose> |
Eric Newberry | 6d932e8 | 2016-11-24 05:05:43 +0000 | [diff] [blame] | 185 | <xsl:when test="nfd:flags/nfd:localFieldsEnabled"> |
| 186 | local-fields |
| 187 | </xsl:when> |
| 188 | </xsl:choose> |
| 189 | </td> |
| 190 | <td> |
| 191 | <xsl:choose> |
Chengyu Fan | 6717964 | 2014-08-15 16:00:43 -0600 | [diff] [blame] | 192 | <xsl:when test="nfd:expirationPeriod"> |
| 193 | <xsl:call-template name="formatDuration"><xsl:with-param name="duration" select="nfd:expirationPeriod" /></xsl:call-template> |
| 194 | </xsl:when> |
| 195 | <xsl:otherwise> |
| 196 | Never |
| 197 | </xsl:otherwise> |
| 198 | </xsl:choose> |
| 199 | </td> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 200 | <td><xsl:value-of select="nfd:packetCounters/nfd:incomingPackets/nfd:nInterests"/></td> |
Junxiao Shi | f03d479 | 2017-04-06 16:41:22 +0000 | [diff] [blame] | 201 | <td><xsl:value-of select="nfd:packetCounters/nfd:incomingPackets/nfd:nData"/></td> |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 202 | <td><xsl:value-of select="nfd:packetCounters/nfd:incomingPackets/nfd:nNacks"/></td> |
Chengyu Fan | 3331cfa | 2014-07-25 17:36:31 -0600 | [diff] [blame] | 203 | <td><xsl:value-of select="nfd:byteCounters/nfd:incomingBytes"/></td> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 204 | <td><xsl:value-of select="nfd:packetCounters/nfd:outgoingPackets/nfd:nInterests"/></td> |
Junxiao Shi | f03d479 | 2017-04-06 16:41:22 +0000 | [diff] [blame] | 205 | <td><xsl:value-of select="nfd:packetCounters/nfd:outgoingPackets/nfd:nData"/></td> |
Weiwei Liu | ace83ac | 2016-04-25 10:16:37 -0700 | [diff] [blame] | 206 | <td><xsl:value-of select="nfd:packetCounters/nfd:outgoingPackets/nfd:nNacks"/></td> |
Chengyu Fan | 3331cfa | 2014-07-25 17:36:31 -0600 | [diff] [blame] | 207 | <td><xsl:value-of select="nfd:byteCounters/nfd:outgoingBytes"/></td> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 208 | </tr> |
| 209 | </xsl:for-each> |
| 210 | </tbody> |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 211 | </table> |
| 212 | </xsl:template> |
| 213 | |
| 214 | <xsl:template match="nfd:fib"> |
| 215 | <h2>FIB</h2> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 216 | <table class="item-list"> |
| 217 | <thead> |
| 218 | <tr> |
Chengyu Fan | 30aa207 | 2014-07-20 13:52:32 -0600 | [diff] [blame] | 219 | <th width="20%">Prefix</th> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 220 | <th>NextHops</th> |
| 221 | </tr> |
| 222 | </thead> |
| 223 | <tbody> |
| 224 | <xsl:for-each select="nfd:fibEntry"> |
| 225 | <xsl:variable name="style"> |
| 226 | <xsl:choose> |
| 227 | <xsl:when test="position() mod 2 = 1"> |
| 228 | <xsl:text>odd</xsl:text> |
| 229 | </xsl:when> |
| 230 | <xsl:otherwise>even</xsl:otherwise> |
| 231 | </xsl:choose> |
| 232 | </xsl:variable> |
| 233 | <tr class="{$style}"> |
| 234 | <td style="text-align:left;vertical-align:top;padding:0"><xsl:value-of select="nfd:prefix"/></td> |
| 235 | <td> |
Chengyu Fan | 30aa207 | 2014-07-20 13:52:32 -0600 | [diff] [blame] | 236 | <table class="item-sublist"> |
| 237 | <tr> |
| 238 | <th>FaceId</th> |
| 239 | <xsl:for-each select="nfd:nextHops/nfd:nextHop"> |
| 240 | <td><xsl:value-of select="nfd:faceId"/></td> |
| 241 | </xsl:for-each> |
| 242 | </tr> |
| 243 | <tr> |
| 244 | <th>Cost</th> |
| 245 | <xsl:for-each select="nfd:nextHops/nfd:nextHop"> |
| 246 | <td><xsl:value-of select="nfd:cost"/></td> |
| 247 | </xsl:for-each> |
| 248 | </tr> |
| 249 | </table> |
| 250 | </td> |
| 251 | </tr> |
| 252 | </xsl:for-each> |
| 253 | </tbody> |
| 254 | </table> |
| 255 | </xsl:template> |
| 256 | |
| 257 | <xsl:template match="nfd:rib"> |
| 258 | <h2>RIB</h2> |
| 259 | <table class="item-list"> |
| 260 | <thead> |
| 261 | <tr> |
| 262 | <th width="20%">Prefix</th> |
| 263 | <th>Routes</th> |
| 264 | </tr> |
| 265 | </thead> |
| 266 | <tbody> |
| 267 | <xsl:for-each select="nfd:ribEntry"> |
| 268 | <xsl:variable name="style"> |
| 269 | <xsl:choose> |
| 270 | <xsl:when test="position() mod 2 = 1"> |
| 271 | <xsl:text>odd</xsl:text> |
| 272 | </xsl:when> |
| 273 | <xsl:otherwise>even</xsl:otherwise> |
| 274 | </xsl:choose> |
| 275 | </xsl:variable> |
| 276 | <tr class="{$style}"> |
| 277 | <td style="text-align:left;vertical-align:top;padding:0"><xsl:value-of select="nfd:prefix"/></td> |
| 278 | <td> |
| 279 | <table class="item-sublist"> |
| 280 | <tr> |
| 281 | <th>FaceId</th> |
| 282 | <xsl:for-each select="nfd:routes/nfd:route"> |
| 283 | <td><xsl:value-of select="nfd:faceId"/></td> |
| 284 | </xsl:for-each> |
| 285 | </tr> |
| 286 | <tr> |
| 287 | <th>Origin</th> |
| 288 | <xsl:for-each select="nfd:routes/nfd:route"> |
| 289 | <td><xsl:value-of select="nfd:origin"/></td> |
| 290 | </xsl:for-each> |
| 291 | </tr> |
| 292 | <tr> |
| 293 | <th>Cost</th> |
| 294 | <xsl:for-each select="nfd:routes/nfd:route"> |
| 295 | <td><xsl:value-of select="nfd:cost"/></td> |
| 296 | </xsl:for-each> |
| 297 | </tr> |
| 298 | <tr> |
Chengyu Fan | 1c630ba | 2014-08-20 13:27:58 -0500 | [diff] [blame] | 299 | <th>ChildInherit</th> |
Chengyu Fan | 30aa207 | 2014-07-20 13:52:32 -0600 | [diff] [blame] | 300 | <xsl:for-each select="nfd:routes/nfd:route"> |
Chengyu Fan | 1c630ba | 2014-08-20 13:27:58 -0500 | [diff] [blame] | 301 | <td> |
| 302 | <xsl:if test="nfd:flags/nfd:childInherit"> |
| 303 | Y |
| 304 | </xsl:if> |
| 305 | </td> |
| 306 | </xsl:for-each> |
| 307 | </tr> |
| 308 | <tr> |
| 309 | <th>RibCapture</th> |
| 310 | <xsl:for-each select="nfd:routes/nfd:route"> |
| 311 | <td> |
| 312 | <xsl:if test="nfd:flags/nfd:ribCapture"> |
| 313 | Y |
| 314 | </xsl:if> |
| 315 | </td> |
Chengyu Fan | 30aa207 | 2014-07-20 13:52:32 -0600 | [diff] [blame] | 316 | </xsl:for-each> |
| 317 | </tr> |
| 318 | <tr> |
| 319 | <th>Expires in</th> |
| 320 | <xsl:for-each select="nfd:routes/nfd:route"> |
| 321 | <td> |
| 322 | <xsl:choose> |
| 323 | <xsl:when test="nfd:expirationPeriod"> |
| 324 | <xsl:call-template name="formatDuration"><xsl:with-param name="duration" select="nfd:expirationPeriod" /></xsl:call-template> |
| 325 | </xsl:when> |
| 326 | <xsl:otherwise> |
| 327 | Never |
| 328 | </xsl:otherwise> |
| 329 | </xsl:choose> |
| 330 | </td> |
| 331 | </xsl:for-each> |
| 332 | </tr> |
| 333 | </table> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 334 | </td> |
| 335 | </tr> |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 336 | </xsl:for-each> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 337 | </tbody> |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 338 | </table> |
| 339 | </xsl:template> |
| 340 | |
| 341 | <xsl:template match="nfd:strategyChoices"> |
| 342 | <h2>Strategy Choices</h2> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 343 | <table class="item-list"> |
| 344 | <thead> |
| 345 | <tr> |
Chengyu Fan | 30aa207 | 2014-07-20 13:52:32 -0600 | [diff] [blame] | 346 | <th width="20%">Namespace</th> |
Alexander Afanasyev | 8a09376 | 2014-07-16 18:43:09 -0700 | [diff] [blame] | 347 | <th>Strategy Name</th> |
| 348 | </tr> |
| 349 | </thead> |
| 350 | <tbody> |
| 351 | <xsl:for-each select="nfd:strategyChoice"> |
| 352 | <tr> |
| 353 | <td><xsl:value-of select="nfd:namespace"/></td> |
| 354 | <td><xsl:value-of select="nfd:strategy/nfd:name"/></td> |
| 355 | </tr> |
| 356 | </xsl:for-each> |
| 357 | </tbody> |
Chengyu Fan | 45d1a76 | 2014-07-08 14:21:32 -0600 | [diff] [blame] | 358 | </table> |
| 359 | </xsl:template> |
| 360 | |
| 361 | </xsl:stylesheet> |