?? 例7-11.xsl
字號:
<?xml version="1.0" encoding="GB2312" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html><body>
<xsl:apply-templates select="StudentList"/>
</body></html>
</xsl:template>
<xsl:template match="StudentList">
<Table border="3">
<TR>
<TD>學號</TD>
<TD>姓名</TD>
<TD>成績(計算機、英語、文學、哲學)</TD>
</TR>
<xsl:apply-templates/>
</Table>
</xsl:template>
<xsl:template match="Student">
<TR>
<TD><xsl:value-of select="ID" /></TD>
<TD><xsl:value-of select="Name" /></TD>
<TD><xsl:value-of select="Mark" /></TD>
</TR>
</xsl:template>
</xsl:stylesheet>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -