⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xslintemplate.xsl

📁 上机考试系统
💻 XSL
字号:
<?xml version='1.0' encoding="gb2312" ?>
<xsl:stylesheet
    xmlns:xsl="http://www.w3.org/TR/WD-xsl"
    xmlns="http://www.w3.org/TR/REC-html40" >
    <xsl:template match="/">
	<html>
    <head><title>在查询模板中使用样式单</title></head> 
	<body><xsl:apply-templates/></body>
    </html>
    </xsl:template>
    <xsl:template match="图书清单">
    <center>
	<table border="1">
	<thead><th>编号</th><th>作者</th><th>书名</th><th>出版社</th></thead>
    <xsl:apply-templates/>	
	</table>
	</center>
    </xsl:template>
    <xsl:template match="书籍">
    <tr>
           <td><xsl:value-of select="编号"/></td>
           <td><xsl:value-of select="作者"/></td>
           <td><xsl:value-of select="书名"/></td>
           <td><xsl:value-of select="出版社"/></td>
    </tr>
	</xsl:template>
</xsl:stylesheet>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -