diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2011-09-28 15:26:36 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-09-30 12:13:30 +0100 |
commit | c5047ca9fac4ea1d16a977608402622d2b3bfdde (patch) | |
tree | 9631e6b74eb8647d2ab0bf3bf9f2866b0f7f3bb0 /filter | |
parent | Merge branch 'master' of /home/bjoern/.jenkins/jobs/repo-mirror/workspace/core (diff) | |
download | core-c5047ca9fac4ea1d16a977608402622d2b3bfdde.tar.gz core-c5047ca9fac4ea1d16a977608402622d2b3bfdde.zip |
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.xsl | 6 |
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> |