?? 例7-6.xsl
字號(hào):
<?xml version="1.0" encoding="GB2312" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<xsl:apply-templates/>
</html>
</xsl:template>
<xsl:template match="BookLib">
<body>
<xsl:apply-templates/>
</body>
</xsl:template>
<xsl:template match="Book">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="Title">
<Font size="3" color="#0000FF">
<BR></BR><xsl:value-of select="."/>
</Font>
</xsl:template>
<xsl:template match="Author">
<Font size="3" color="#FF0000">
<xsl:value-of select="Name"/>
</Font>
</xsl:template>
<xsl:template match="Press">
<Font size="3" color="#FF00FF">
<xsl:value-of select="."/>
</Font>
</xsl:template>
<xsl:template match="Price">
<Font size="3" color="#999999">
<xsl:value-of select="."/>
</Font>
</xsl:template>
</xsl:stylesheet>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -