From: Lady <redacted> Date: Sat, 6 Jan 2024 04:11:12 +0000 (-0500) Subject: Copy over existing <html:body> attributes X-Git-Tag: 0.2.3~2 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/76093b7b94e9c1de606e9f42a1f2897f70a114e9?hp=023ca463e9644ebe5ceac3c15d73607583da00e5 Copy over existing <html:body> attributes --- diff --git a/lib/catalog2transform.xslt b/lib/catalog2transform.xslt index d76fc4d..ba3cd50 100644 --- a/lib/catalog2transform.xslt +++ b/lib/catalog2transform.xslt @@ -133,6 +133,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one </xslt:if> </html:head> <html:body> + <xslt:copy-of select="html:html/html:body/@*|html:body/@*"/> <xslt:apply-templates select="document('')/xslt:transform/xslt:include" mode="书社:header"/> <xslt:apply-templates select="." mode="书社:header"/> <xslt:copy-of select="*[not(self::html:html or self::html:body)]|html:html/*[not(self::html:head or self::html:body)]|html:html/html:body/*|html:body/*"/>