これは私の行です。24 時間で 24 行あります。xslt でループを作成します。
<xsl:variable name="n-rows" select="24"/>
<xsl:template match="/">
<html>
<head>...</head>
<body>
<table>
<tr>
<xsl:call-template name="td-recursive"/>
</tr>
</table>
</body>
</html>
</xsl:template>
<xsl:template name="td-recursive">
<xsl:param name="index" select="1"/>
<td>
<xsl:value-of select="$index"/>
</td>
<xsl:if test="$index < $n-rows">
<xsl:call-template name="td-recursive">
<xsl:with-param name="index" select="$index + 1"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
しかし、ここで
<xsl:value-of select="$index"/>
00:00、01:00 から 23:00 のような数字ではなく、時間を書きたい
PHP で XSLT に時間を書き込むにはどうすればよいですか。