Created
April 11, 2013 12:22
-
-
Save zeero/5362949 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="Shift_JIS"?> | |
<xsl:stylesheet | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
<!--出力方法の指定--> | |
<xsl:output method="text" encoding="Shift_JIS"/> | |
<xsl:strip-space elements="*"/> | |
<xsl:template match="/"> | |
<xsl:apply-templates /> | |
</xsl:template> | |
<xsl:template match="/UpgradeLog/Issue"> | |
<xsl:value-of select="/UpgradeLog/Settings/Setting[@Name='ProjectName']/@Value"/>,,,,<xsl:value-of select="@Type"/>,<xsl:value-of select="@Number"/>,<xsl:value-of select="text()"/> | |
<xsl:text> | |
</xsl:text> | |
</xsl:template> | |
<xsl:template match="/UpgradeLog/File/Issue"> | |
<xsl:value-of select="/UpgradeLog/Settings/Setting[@Name='ProjectName']/@Value"/>,<xsl:value-of select="../@OldPath"/>,<xsl:value-of select="../@NewPath"/>,,<xsl:value-of select="@Type"/>,<xsl:value-of select="@Number"/>,<xsl:value-of select="text()"/> | |
<xsl:text> | |
</xsl:text> | |
</xsl:template> | |
<xsl:template match="/UpgradeLog/File/Section/Issue"> | |
<xsl:value-of select="/UpgradeLog/Settings/Setting[@Name='ProjectName']/@Value"/>,<xsl:value-of select="../../@OldPath"/>,<xsl:value-of select="../../@NewPath"/>,<xsl:value-of select="../@Name"/>,<xsl:value-of select="@Type"/>,<xsl:value-of select="@Number"/>,<xsl:value-of select="text()"/> | |
<xsl:text> | |
</xsl:text> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment