]> Lady’s Gitweb - Shushe/blob - lib/metadata2destinations.xslt
e1fe1cd6a19725a04dec4f81aa0462081ca01b4e
[Shushe] / lib / metadata2destinations.xslt
1 <?xml version="1.0"?>
2 <!--
3 SPDX-FileCopyrightText: 2023, 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: MPL-2.0
5 -->
6 <!--
7 ⁌ ⛩📰 书社 ∷ lib/metadata2destinations.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:dct="http://purl.org/dc/terms/"
17 xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
18 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
19 version="1.0"
20 >
21 <template match="/">
22 <for-each select="/rdf:RDF/nfo:LocalFileDataObject[starts-with(@rdf:about, 'about:shushe?source=')]">
23 <value-of select="@rdf:about"/>
24 <text>|</text>
25 <value-of select="dct:hasFormat/nfo:LocalFileDataObject[@dct:creator='urn:fdc:ladys.computer:20231231:Shu1She4']/@nfo:fileName"/>
26 <text>&#xA;</text>
27 </for-each>
28 </template>
29 <output method="text" encoding="UTF-8"/>
30 </transform>
This page took 0.052427 seconds and 3 git commands to generate.