3 SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: MPL-2.0
7 ⁌ Langdev ∷ transforms/rawout.xslt
9 © 2024 Lady [@ Ladys Computer].
11 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
12 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/>.
15 xmlns="http://www.w3.org/1999/XSL/Transform"
16 xmlns:html="http://www.w3.org/1999/xhtml"
17 xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
20 <书社:id>urn:fdc:langdev.ladys.computer:20240820:transforms:rawout.xslt</书社:id>
21 <template match="html:object[(@书社:archived-as or not(parent::*)) and @书社:identifier and starts-with(@data, 'data:')]">
23 <if test="@书社:archived-as">
24 <attribute name="书社:archived-as">
25 <value-of select="@书社:archived-as"/>
28 <value-of select="substring-after(@data, ',')"/>