xsl显示有关问题

xsl显示问题
页面一个list


如下显示

<xsl:for-each select="OrderTodo/Todo">
<input type="hidden" name="name" id="name">
      <xsl:attribute name="value">
<xsl:value-of select="."/>
      </xsl:attribute>
</input>
</xsl:for-each>


这样得到的只能是第一条记录

请问我的隐藏域里面如何能显示所有的值

------解决方案--------------------
瞎猜的,不知道你的list的格式
<xsl:for-each select="OrderTodo/Todo/input">
<input type="hidden" name="name" id="name">
      <xsl:attribute name="value">
    <xsl:value-of select="."/>
      </xsl:attribute>
</input>
</xsl:for-each>