TwlToolsRED/build/tools/MasterEditor/MasterEditorTWL-1_9-AllExceptChina/submitversion.xsl
nishikawa_takeshi 5854ea91cd 中国を除く全マルチリージョンに対応した特別版を追加。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@522 7061adef-622a-194b-ae81-725974e89856
2010-10-15 11:02:23 +00:00

31 lines
1.0 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
<xsl:output method="text" encoding="UTF-8" />
<xsl:template match="/">
<xsl:apply-templates select="ss:Workbook/ss:Worksheet/ss:Table/ss:Row/ss:Cell" />
</xsl:template>
<xsl:template match="*">
<xsl:apply-templates />
</xsl:template>
<!-- 提出バージョンのセルだけ抜き出す -->
<xsl:template match="ss:Cell">
<!-- NamedCellードの名前を変数に代入 -->
<xsl:variable name="tag">
<xsl:apply-templates select="ss:NamedCell" />
</xsl:variable>
<!-- NamedCellードの名前がSubmitVersionのときのみ出力 -->
<xsl:if test="$tag='SubmitVersion'">
<xsl:value-of select="ss:Data" />
</xsl:if>
</xsl:template>
<!-- NamedCellードの名前(属性で指定されている)を取得 -->
<xsl:template match="ss:NamedCell">
<xsl:value-of select="@ss:Name" />
</xsl:template>
</xsl:stylesheet>