]> Lady’s Gitweb - Shushe/commitdiff
Copy all language attributes to wrapper <html:html>
authorLady <redacted>
Sat, 6 Jan 2024 04:14:43 +0000 (23:14 -0500)
committerLady <redacted>
Sat, 6 Jan 2024 05:03:49 +0000 (00:03 -0500)
lib/catalog2transform.xslt

index ba3cd50c8cf97fabc73c2da73d1881057cbfc198..aa490af7b5529ad13d06feb21d800df2327e3c39 100644 (file)
@@ -16,6 +16,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
        xmlns:catalog="urn:oasis:names:tc:entity:xmlns:xml:catalog"
        xmlns:exsl="http://exslt.org/common"
        xmlns:exslstr="http://exslt.org/strings"
+       xmlns:svg="http://www.w3.org/2000/svg"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        xmlns:xslt="http://www.w3.org/1999/XSL/TransformAlias"
        xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
@@ -119,7 +120,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                        <xslt:apply-templates select="document('')/xslt:transform/xslt:include" mode="书社:metadata"/>
                                </xslt:variable>
                                <html:html>
-                                       <xslt:copy-of select="html:html/@*"/>
+                                       <xslt:copy-of select="html:html/@*|*/@xml:lang|html:*/@lang|svg:*/@lang"/>
                                        <html:head>
                                                <xslt:copy-of select="html:html/html:head/@*"/>
                                                <html:title>
This page took 0.028047 seconds and 4 git commands to generate.