]> Lady’s Gitweb - Shushe/blobdiff - lib/catalog2transform.xslt
Fix <html:head> copying
[Shushe] / lib / catalog2transform.xslt
index 2a3bc711f64b047fefbeb0f15bfdda0d6278af46..d76fc4d6b5b8ca522abdfa0e84ee982b73eec60b 100644 (file)
@@ -24,7 +24,10 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
        <namespace-alias stylesheet-prefix="xslt" result-prefix="#default"/>
        <template match="/">
                <xslt:transform exclude-result-prefixes="catalog exsl exslstr" version="1.0">
+                       <xslt:param name="buildtime" select="'1972-12-31T00:00:00Z'"/>
                        <xslt:param name="catalog" select="'catalog'"/>
+                       <xslt:param name="srctime" select="'1972-12-31T00:00:00Z'"/>
+                       <xslt:param name="path" select="'/unknown'"/>
                        <xslt:variable name="书社:expansion">
                                <xslt:apply-templates select="/" mode="书社:expand"/>
                        </xslt:variable>
@@ -111,7 +114,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                        <xslt:template match="text()" mode="书社:metadata"/>
                        <xslt:template match="/" mode="书社:wrap">
                                <xslt:variable name="metadata">
-                                       <xslt:copy-of select="html/head/*"/>
+                                       <xslt:copy-of select="html:html/html:head/*"/>
                                        <xslt:apply-templates select="." mode="书社:metadata"/>
                                        <xslt:apply-templates select="document('')/xslt:transform/xslt:include" mode="书社:metadata"/>
                                </xslt:variable>
This page took 0.04378 seconds and 4 git commands to generate.