]> Lady’s Gitweb - Shushe/blobdiff - lib/catalog2transform.xslt
Simplify 书社:literally transform output
[Shushe] / lib / catalog2transform.xslt
index fe160872ee39699e76db49ccd0da4df5803a8fe4..6479216fb915a8439b5194ba306bfa741ec66dc2 100644 (file)
@@ -4,9 +4,9 @@ SPDX-FileCopyrightText: 2023, 2024 Lady <https://www.ladys.computer/about/#lady>
 SPDX-License-Identifier: MPL-2.0
 -->
 <!--
-⁌ ⛩📰 书社 ∷ lib/catalog2transform.xslt
+⁌ ⛩📰 书社 ∷ lib/catalog2transform.xslt
 
-© 2023–2024 Lady [@ Ladys Computer].
+© 2023–2024 Lady [@ Ladys Computer].
 
 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
 If a copy of the M·P·L was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0/>.
@@ -44,7 +44,9 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                        <xslt:param name="THISREV" select="false()"/>
                        <xslt:variable name="书社:source" select="/"/>
                        <xslt:variable name="书社:about-fragment">
-                               <apply-templates select="document($METADATA)" mode="书社:literally"/>
+                               <apply-templates select="document($METADATA)" mode="书社:literally">
+                                       <with-param name="extension-element-namespaces" select="'http://exslt.org/common http://exslt.org/strings'"/>
+                               </apply-templates>
                        </xslt:variable>
                        <xslt:variable name="书社:about" select="exsl:node-set($书社:about-fragment)"/>
                        <xslt:variable name="书社:expansion-fragment">
@@ -237,7 +239,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                                                        </xslt:text>
                                                                </xslt:for-each>
                                                                <xslt:text>
-                                                                       <text>⛩📰 书社</text>
+                                                                       <text>⛩📰 书社</text>
                                                                </xslt:text>
                                                                <xslt:if test="$THISREV">
                                                                        <xslt:text>
This page took 0.034348 seconds and 4 git commands to generate.