TwlToolsRED/build/tools/MasterEditor/MasterEditorTWL/resource/middleware.xsl
nishikawa_takeshi b3a0f9cf5d マスタエディタ:SDアクセス権の表示がクリアされない問題を修正。MRC機能のアクセスコントロールの不正ビットの定義がおかしかった点を修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@350 7061adef-622a-194b-ae81-725974e89856
2009-07-06 12:19:07 +00:00

107 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>TWL Middleware List</title>
<style type="text/css">
body {
font-family: "verdana";
font-size: 12px;
text-align: left;
}
div.game-title {
font-size: 16px;
font-weight: bold;
}
div.game-version {
font-size: 12px;
font-weight: bold;
}
hr {
width: 1000px;
margin-left: 0;
}
tr {
text-align: left;
}
th {
font-size: 12px;
background-color: #D6D3CE;
color: black;
}
th.publisher {
width: 200px;
}
th.name {
width: 400px;
}
th.note {
width: 400px;
}
td {
font-weight: normal;
font-size: 12px;
}
td.publisher {
width: 200px;
}
td.name {
width: 400px;
}
td.note {
width: 400px;
}
</style>
</head>
<body>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="twl-master-editor">
<xsl:apply-templates select="game" />
<hr />
<xsl:apply-templates select="middleware-list" />
<hr />
<div class="footer">
generated by MasterEditorTWL ver. <xsl:value-of select="@version" />
</div>
</xsl:template>
<xsl:template match="game">
<div class="game-title">
<xsl:value-of select="product-name" />(<xsl:value-of select="game-code" />)
</div>
<div class="game-version">
version: <xsl:value-of select="rom-version" />-<xsl:value-of select="submit-version" />
</div>
</xsl:template>
<xsl:template match="middleware-list">
<table cellspacing="0">
<tr>
<th class="publisher">Publisher</th>
<th class="name">Middleware Name</th>
<th class="note">Note</th>
</tr>
<xsl:apply-templates />
</table>
</xsl:template>
<xsl:template match="middleware">
<tr>
<td class="publisher"><xsl:value-of select="publisher" /></td>
<td class="name"><xsl:value-of select="name" /></td>
<td class="note"><xsl:value-of select="note" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>