]> Lady’s Gitweb - Langdev/blob - transforms/rawout.xslt
Initial commit with docs/srcs for early langs
[Langdev] / transforms / rawout.xslt
1 <?xml version="1.0"?>
2 <!--
3 SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: MPL-2.0
5 -->
6 <!--
7 ⁌ Langdev ∷ transforms/rawout.xslt
8
9 © 2024 Lady [@ Ladys Computer].
10
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/>.
13 -->
14 <transform
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"
18 version="1.0"
19 >
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:')]">
22 <书社:base64-binary>
23 <if test="@书社:archived-as">
24 <attribute name="书社:archived-as">
25 <value-of select="@书社:archived-as"/>
26 </attribute>
27 </if>
28 <value-of select="substring-after(@data, ',')"/>
29 </书社:base64-binary>
30 </template>
31 </transform>
This page took 0.053227 seconds and 5 git commands to generate.