• λ我爱Aspx >> C#.Net >> xslt的简单使用[xml-->html] _XSL教程
  • xslt的简单使用[xml-->html] _XSL教程

  • :aspxer  Դ:internet  :2007-4-28 23:43:21  ؼ:xml
  • </tr>

    <xsl:apply-templates select="/Articles/Article/Remarks" />

    </xsl:template>

    <xsl:template match="Remarks">

    <tr><td>

    <table width="800px" border="0" cellpadding="0" cellspacing="0">

    <th align="left"><h3>Feedback</h3></th>

    <xsl:for-each select="Remark">

    <div class="post">

    <tr>

    <div class="postTitle">

    <td>

    回复人:<b>

    <font color="#3366CC">

    <xsl:value-of select="@PostUserName" />

    (<xsl:value-of select="PostUserNickName" />)

    </font>

    </b>

    </td>

    <td align="right">

    <font color="#000000">

    <xsl:value-of select="@PostDateTime" />

    </font>

    第<font color="red"><xsl:number value="position()" format="1"/></font>楼

    </td>

    </div>

    </tr>

    <tr>

    <td colspan="2">

    <div class="postText">

    <xsl:value-of select="Content" />

    </div>

    </td>

    </tr>

    </div>

    </xsl:for-each>

    </table></td></tr>

    </xsl:template>

    </xsl:stylesheet>

    Ҷƪл˵?
  • һƪXSL中利用xsl:for-each时给每一项添加序号_XSL教程
    һƪXSL学习心得-制作图像超链接_XSL教程