]> Lady’s Gitweb - Vocab/blobdiff - transforms/data/cleanup.xslt
Update ⛩📰 书社 to 0.13.3; “simplify” build
[Vocab] / transforms / data / cleanup.xslt
diff --git a/transforms/data/cleanup.xslt b/transforms/data/cleanup.xslt
deleted file mode 100644 (file)
index 0422f09..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<!--
-SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
-SPDX-License-Identifier: MPL-2.0
--->
-<!--
-© 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/>.
--->
-<transform
-       xmlns="http://www.w3.org/1999/XSL/Transform"
-       xmlns:exsl="http://exslt.org/common"
-       xmlns:html="http://www.w3.org/1999/xhtml"
-       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-       xmlns:owl="http://www.w3.org/2002/07/owl#"
-       xmlns:shacl="http://www.w3.org/ns/shacl#"
-       xmlns:xlink="http://www.w3.org/1999/xlink"
-       xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
-       extension-element-prefixes="exsl"
-       version="1.0"
->
-       <书社:id>urn:fdc:vocab.ladys.computer:20240731:transforms:cleanup.xslt</书社:id>
-       <template match="/rdf:RDF" mode="书社:apply">
-               <variable name="fragment">
-                       <书社:raw-text>
-                               <text>&lt;?xml version="1.0"?></text>
-                               <element name="书社:serialize-xml">
-                                       <element name="rdf:RDF">
-                                               <for-each select="owl:Ontology/namespace::*">
-                                                       <copy/>
-                                               </for-each>
-                                               <apply-templates mode="书社:apply"/>
-                                       </element>
-                               </element>
-                       </书社:raw-text>
-               </variable>
-               <apply-templates select="exsl:node-set($fragment)" mode="书社:apply"/>
-       </template>
-       <template match="/rdf:RDF//@xlink:*|/rdf:RDF//@书社:*|/rdf:RDF//书社:*|/rdf:RDF//text()[not(ancestor::html:*/ancestor::rdf:RDF) and normalize-space()='']|/rdf:RDF//comment()" mode="书社:apply" priority="10"/>
-       <template match="/rdf:RDF//text()[not(ancestor::html:*/ancestor::rdf:RDF) and normalize-space()!='']" mode="书社:apply" priority="10">
-               <value-of select="normalize-space()"/>
-       </template>
-</transform>
This page took 0.409266 seconds and 4 git commands to generate.