summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml/nostatus.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/ooxml/nostatus.xsl')
-rw-r--r--writerfilter/source/ooxml/nostatus.xsl20
1 files changed, 20 insertions, 0 deletions
diff --git a/writerfilter/source/ooxml/nostatus.xsl b/writerfilter/source/ooxml/nostatus.xsl
new file mode 100644
index 000000000000..e2e113c6a602
--- /dev/null
+++ b/writerfilter/source/ooxml/nostatus.xsl
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method="text"/>
+
+<xsl:template match="/">
+ <xsl:for-each select="/stage3">
+ <xsl:for-each select="attribute|element">
+ <xsl:for-each select="file[nostatus]">
+ <xsl:value-of select="@name"/>
+ <xsl:text>:</xsl:text>
+ <xsl:value-of select="@line"/>
+ <xsl:text>&#xa;</xsl:text>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:for-each>
+</xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file