TwlIPL/build/tools/MasterEditorTWL/resource/middleware_e.xsl
nishikawa_takeshi e4d159581a マスタエディタ:ミドルウェアのリストを出力する機能を追加。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2569 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-10-02 06:42:57 +00:00

93 lines
1.9 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet id="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: 700px;
margin-left: 0;
}
tr {
text-align: left;
}
th {
font-size: 12px;
background-color: #D6D3CE;
color: black;
}
th.publisher {
width: 200px;
}
th.name {
width: 500px;
}
td {
font-weight: normal;
font-size: 12px;
}
</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>
</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>
</tr>
</xsl:template>
</xsl:stylesheet>