<?xml version="1.0"?>
<!--
-SPDX-FileCopyrightText: 2023, 2024 Lady <https://www.ladys.computer/about/#lady>
+SPDX-FileCopyrightText: 2023, 2024, 2025 Lady <https://www.ladys.computer/about/#lady>
SPDX-License-Identifier: MPL-2.0
-->
<!--
⁌ ⛩📰 书社 ∷ lib/expandmetadata.xslt
-© 2023–2024 Lady [@ Ladys Computer].
+© 2023–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/>.
</otherwise>
</choose>
</template>
+ <template match="nie:interpretedAs/*" priority="1">
+ <copy>
+ <apply-templates select="@*|node()"/>
+ <for-each select="../../书社vocab:hasParsedFileWithMetadata">
+ <copy-of select="document(@nfo:fileUrl)/书社:parsed/书社:metadata/rdf:RDF/rdf:Description/node()"/>
+ </for-each>
+ </copy>
+ </template>
<template match="//书社vocab:SourceFile[not(nie:interpretedAs/nfo:PlainTextDocument)]" priority="1">
<copy>
<apply-templates select="@*"/>
</for-each>
</copy>
</template>
+ <template match="书社vocab:hasParsedFileWithMetadata" priority="1"/>
<template match="/">
<variable name="result-fragment">
<apply-templates/>