summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2011-09-28 15:26:36 +0200
committerMichael Meeks <michael.meeks@suse.com>2011-09-30 12:13:30 +0100
commitc5047ca9fac4ea1d16a977608402622d2b3bfdde (patch)
tree9631e6b74eb8647d2ab0bf3bf9f2866b0f7f3bb0 /filter
parent848bb3202cecd63926c468191eeb2c108ada4538 (diff)
Generate valid xhtml export by using xml:lang, see also fdo#40373
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/header.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
index 7e834862c2d6..dd05f9029fc4 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
@@ -319,7 +319,7 @@
<!-- title of document for browser frame title -->
<xsl:element name="title">
- <xsl:attribute name="lang" namespace="http://www.w3.org/XML/1998/namespace">
+ <xsl:attribute name="xml:lang">
<xsl:value-of select="$lang" />
</xsl:attribute>
@@ -340,7 +340,7 @@
<xsl:attribute name="content">
<xsl:value-of select="$globalData/meta-file/*/office:meta/dc:title" />
</xsl:attribute>
- <xsl:attribute name="lang" namespace="http://www.w3.org/XML/1998/namespace">
+ <xsl:attribute name="xml:lang">
<xsl:value-of select="$lang" />
</xsl:attribute>
</xsl:element>
@@ -474,7 +474,7 @@
</xsl:attribute>
</xsl:if>
<xsl:if test="$meta-lang">
- <xsl:attribute name="lang" namespace="http://www.w3.org/XML/1998/namespace">
+ <xsl:attribute name="xml:lang">
<xsl:value-of select="$meta-lang" />
</xsl:attribute>
</xsl:if>