summaryrefslogtreecommitdiff
path: root/thirdparty/checkstyle/contrib/checkstyle-csv.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/checkstyle/contrib/checkstyle-csv.xsl')
-rwxr-xr-xthirdparty/checkstyle/contrib/checkstyle-csv.xsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/thirdparty/checkstyle/contrib/checkstyle-csv.xsl b/thirdparty/checkstyle/contrib/checkstyle-csv.xsl
new file mode 100755
index 000000000..e6aa2ce41
--- /dev/null
+++ b/thirdparty/checkstyle/contrib/checkstyle-csv.xsl
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method="text" />
+<xsl:strip-space elements="*"/>
+<xsl:template match="error">
+<xsl:value-of select="../@name"/>, <xsl:value-of select="@line"/>, <xsl:value-of select="@column"/>, <xsl:value-of select="@severity"/>, <xsl:value-of select="@message"/>, <xsl:value-of select="@source"/>
+<xsl:text>
+</xsl:text>
+</xsl:template>
+</xsl:stylesheet>
+