Created by
Alessio Caiazza
| <?xml version="1.0"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:template match="/issues">
<xsl:apply-templates select="issue[@id = 'UnusedResources'][not(location/@line) and not(location/@column)]"/>
</xsl:template>
<xsl:template match="issue">
<xsl:apply-templates select="location"/>
</xsl:template>
<xsl:template match="location[not(@line)][not(@column)]">
git rm <xsl:value-of select="@file"/>
</xsl:template>
</xsl:stylesheet>
|