<?xml:stylesheet type="text/xsl" href="userinfo.xsl"?>
<record>
<username>ewww</username>
<password>123</password>
</record>
<?xml version="1.0" encoding="GB2312"?>
<html xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<head><title>用户信息</title></head>
<body> <xsl:for-each select="record"><P/>
<TABLE border="1" cellspacing="0">
<caption style="font-size: 150%; font-weight: bold">用户信息</caption>
<tr>
<th>姓名</th><td><xsl:value-of select="username"/></td>
<th>密码</th><td><xsl:value-of select="password"/></td>
</tr>
</TABLE>
</xsl:for-each>
</body>
</html>
3086




被折叠的 条评论
为什么被折叠?



