X-Git-Url: https://git.ladys.computer/Shushe/blobdiff_plain/05576f88d7808054799537e89c7888e870df66bf..550d6ccc74b1aae2f45947df47245fb57b111c2b:/transforms/metadata.xslt?ds=inline diff --git a/transforms/metadata.xslt b/transforms/metadata.xslt index ac618fd..71a10c5 100644 --- a/transforms/metadata.xslt +++ b/transforms/metadata.xslt @@ -1,14 +1,18 @@ <?xml version="1.0"?> <!-- -⁌ ⛩️📰 书社 ∷ transforms/metadata.xslt +SPDX-FileCopyrightText: 2023, 2024 Lady <https://www.ladys.computer/about/#lady> +SPDX-License-Identifier: MPL-2.0 +--> +<!-- +⁌ ⛩📰 书社 ∷ transforms/metadata.xslt -© 2023–2024 Lady [@ Lady’s 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/>. --> <!DOCTYPE transform [ - <!ENTITY attoplevel "ancestor::html:*[@itemscope and @itemtype='&书社;:document'] and not(ancestor::html:*[@itemscope]/ancestor::html:*[@itemscope and @itemtype='&书社;:document'] or preceding::html:*[@itemtype='&书社;:document'])"> + <!ENTITY attoplevel "not(ancestor::html:template) and ancestor::html:*[@itemscope and @itemtype='&书社;:document'] and not(ancestor::html:*[@itemscope]/ancestor::html:*[@itemscope and @itemtype='&书社;:document'] or preceding::html:*[@itemtype='&书社;:document'])"> <!ENTITY 书社 "urn:fdc:ladys.computer:20231231:Shu1She4"> ]> <transform