diff options
author | Rene Engelhard <rene@debian.org> | 2010-09-30 23:57:05 +0200 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2010-09-30 23:57:05 +0200 |
commit | 210b303ab458a207c068a9b0cf13eeedcce668dd (patch) | |
tree | 8b84defbe25a62437257900e8dcf86601c85027a /filter/source/odfflatxml | |
parent | f21d3de4d393ec7db44d8376948d217dbc6ab744 (diff) |
oops, move files actually into filters/...
Notes
split repo tag: filters_linux-build-fridrich-20100930
Diffstat (limited to 'filter/source/odfflatxml')
-rw-r--r-- | filter/source/odfflatxml/odfflatxmlexport.xsl | 14 | ||||
-rw-r--r-- | filter/source/odfflatxml/odfflatxmlimport.xsl | 10 |
2 files changed, 24 insertions, 0 deletions
diff --git a/filter/source/odfflatxml/odfflatxmlexport.xsl b/filter/source/odfflatxml/odfflatxmlexport.xsl new file mode 100644 index 000000000000..e08afd75f79f --- /dev/null +++ b/filter/source/odfflatxml/odfflatxmlexport.xsl @@ -0,0 +1,14 @@ +<?xml version='1.0' encoding="UTF-8"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"> + <xsl:output method="xml" encoding="UTF-8" indent="yes"/> + + <xsl:template match="@*|node()"> + <xsl:copy> + <xsl:apply-templates select="@*|node()"/> + </xsl:copy> + </xsl:template> + + <xsl:template match="@office:mimetype[string(.)='application/vnd.oasis.opendocument.drawing']"> + <xsl:attribute name="office:mimetype">application/vnd.oasis.opendocument.graphics</xsl:attribute> + </xsl:template> +</xsl:stylesheet> diff --git a/filter/source/odfflatxml/odfflatxmlimport.xsl b/filter/source/odfflatxml/odfflatxmlimport.xsl new file mode 100644 index 000000000000..802ff535d891 --- /dev/null +++ b/filter/source/odfflatxml/odfflatxmlimport.xsl @@ -0,0 +1,10 @@ +<?xml version='1.0' encoding="UTF-8"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:output method="xml" encoding="UTF-8" indent="yes"/> + + <xsl:template match="@*|node()"> + <xsl:copy> + <xsl:apply-templates select="@*|node()"/> + </xsl:copy> + </xsl:template> +</xsl:stylesheet> |