<?xml version="1.0" encoding="GB2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<html>
<head>
<title>图片上传统计资料</title>
</head>
<body margin="20">
<h3 style="text-align:center">统计资料<xsl:value-of select="Mark6TW/Year"/>上传记录</h3>
<table border="0" cellpadding="1" cellspacing="0" width="100%" bgcolor="red">
<tr>
<td>
<table border="0" cellpadding="2" cellspacing="1" width="100%" bgcolor="Red">
<tr bgcolor="white">
<th>№</th><th>N1</th><th>N2</th><th>N3</th><th>N4</th><th>N5</th><th>N6</th><th>S</th>
</tr>
<xsl:for-each select="Mark6TW/Sessions/Session">
<tr bgcolor="white">
<td align="center">
<xsl:value-of select="No"/>
</td>
<td align="center">
<xsl:value-of select="P1"/>
</td>
<td align="center">
<xsl:value-of select="P2"/>
</td>
<td align="center">
<xsl:value-of select="P3"/>
</td>
<td align="center">
<xsl:value-of select="P4"/>
</td>
<td align="center">
<xsl:value-of select="P5"/>
</td>
<td align="center">
<xsl:value-of select="P6"/>
</td>
<td align="center">
<xsl:value-of select="T1"/>
</td>
</tr>
</xsl:for-each>
</table>
</td>
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
这代码是怎么连接数据的或怎么接收数据的或其他的意思!请大家给我解释一下好么!在这谢谢了!
[此贴子已经被作者于2007-10-20 19:35:36编辑过]