X-Git-Url: https://git.ladys.computer/Shushe/blobdiff_plain/6773582e45aab385c96638fe9e90d811132a1005..ca7be60f15de191e25f8cc1890e13dc499576ec4:/lib/archive2extractor.xslt?ds=inline diff --git a/lib/archive2extractor.xslt b/lib/archive2extractor.xslt index 8ff59e7..f9c8bdf 100644 --- a/lib/archive2extractor.xslt +++ b/lib/archive2extractor.xslt @@ -1,12 +1,12 @@ <?xml version="1.0"?> <!-- -SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady> +SPDX-FileCopyrightText: 2024, 2025 Lady <https://www.ladys.computer/about/#lady> SPDX-License-Identifier: MPL-2.0 --> <!-- -⁌ ⛩️📰 书社 ∷ lib/archive2extractor.xslt +⁌ ⛩📰 书社 ∷ lib/archive2extractor.xslt -© 2024 Lady [@ Lady’s Computer]. +© 2024–2025 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/>. @@ -38,7 +38,11 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one <xslt:variable name="href"> <value-of select="@书社:archived-as"/> </xslt:variable> - <xslt:copy-of select="书社:archive/*[@书社:archived-as=$href][1]"/> + <xslt:for-each select="书社:archive/*[@书社:archived-as=$href][1]"> + <xslt:copy> + <xslt:copy-of select="@*[not(namespace-uri()='urn:fdc:ladys.computer:20231231:Shu1She4' and local-name()='archived-as')]|node()"/> + </xslt:copy> + </xslt:for-each> </exsl:document> <xslt:text> <value-of select="$href"/>