[Libreoffice-commits] .: filter/source
Michael Meeks
michael at kemper.freedesktop.org
Fri Sep 30 04:12:48 PDT 2011
filter/source/xslt/odf2xhtml/export/xhtml/header.xsl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c5047ca9fac4ea1d16a977608402622d2b3bfdde
Author: Regina Henschel <rb.henschel at t-online.de>
Date: Wed Sep 28 15:26:36 2011 +0200
Generate valid xhtml export by using xml:lang, see also fdo#40373
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
index 7e83486..dd05f90 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>
More information about the Libreoffice-commits
mailing list