?? 簡歷.xsl
字號:
<?xml version="1.0" encoding="GBK"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<html>
<head>
<title>信息顯示</title>
</head>
<body>
<div align="center">數據信息</div>
<p>
<basefont size="3" />
<dl>
<dd>
<hr />
<dl>
<dt>
<h3>基本信息</h3>
</dt>
<dd>
姓名:
<xsl:value-of select="Dictionary/Information/Name" />
</dd>
<dd>
出生年月:
<xsl:value-of select="Dictionary/Information/BirthDay" />
</dd>
<dd>
性別:
<xsl:value-of select="Dictionary/Information/Gender" />
</dd>
</dl>
</dd>
<dd>
<hr />
<dl>
<dt>
<h3>教育背景</h3>
</dt>
<dt>
<table cellspacing="20">
<xsl:for-each select="Dictionary/Education">
<tr>
<td>
<xsl:value-of select="position()" />
</td>
<td>
入學時間:
<xsl:value-of select="EnrollmentDate" />
</td>
<td>
學校:
<xsl:value-of select="University" />
</td>
</tr>
</xsl:for-each>
</table>
</dt>
</dl>
</dd>
<dd>
<hr />
<dl>
<dt>
<h3>愛好</h3>
</dt>
<dd>
唱歌:
<xsl:choose>
<xsl:when test="Dictionary/Hobby/Sing[text()='true']">是</xsl:when>
<xsl:otherwise>否</xsl:otherwise>
</xsl:choose>
</dd>
<dd>
跳舞:
<xsl:choose>
<xsl:when test="Dictionary/Hobby/Dance[text()='true']">是</xsl:when>
<xsl:otherwise>否</xsl:otherwise>
</xsl:choose>
</dd>
<dd>
編程:
<xsl:choose>
<xsl:when test="Dictionary/Hobby/Programing[text()='true']">是</xsl:when>
<xsl:otherwise>否</xsl:otherwise>
</xsl:choose>
</dd>
<dd>
閱讀:
<xsl:choose>
<xsl:when test="Dictionary/Hobby/Reading[text()='true']">是</xsl:when>
<xsl:otherwise>否</xsl:otherwise>
</xsl:choose>
</dd>
<dd>
<xsl:if test="Dictionary/Hobby/HobbyOtherChoice[text()='true']">
其它:
<xsl:value-of select="Dictionary/Hobby/HobbyOtherChoice/@txt" />
</xsl:if>
</dd>
</dl>
</dd>
</dl>
</p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -