]> Lady’s Gitweb - Vocab/blobdiff - transforms/terms.xslt
Update ⛩📰 书社 to 0.13.3; “simplify” build
[Vocab] / transforms / terms.xslt
similarity index 97%
rename from transforms/site/terms.xslt
rename to transforms/terms.xslt
index 640d1bec0ac659d6c1ecd6e0c0a4aebc0a6b2889..1e5cb524747634cb58bdb69bee883a3f28012bc4 100644 (file)
@@ -15,7 +15,6 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 <transform
        xmlns="http://www.w3.org/1999/XSL/Transform"
        xmlns:Vocab="urn:fdc:vocab.ladys.computer:20240731:ns"
-       xmlns:Vocabvocab="urn:fdc:vocab.ladys.computer:20240731:vocab:"
        xmlns:anno="http://www.w3.org/ns/oa#"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns:owl="http://www.w3.org/2002/07/owl#"
@@ -25,18 +24,15 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
        xmlns:skos="http://www.w3.org/2004/02/skos/core#"
        xmlns:vocabstatus="http://www.w3.org/2003/06/sw-vocab-status/ns#"
        xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
-       exclude-result-prefixes="Vocab Vocabvocab"
+       exclude-result-prefixes="Vocab"
        version="1.0"
 >
-       <书社:id>urn:fdc:vocab.ladys.computer:20240731:transforms:site:terms.xslt</书社:id>
+       <书社:id>urn:fdc:vocab.ladys.computer:20240731:transforms:terms.xslt</书社:id>
        <key name="Vocab:named-class" match="owl:Class|rdfs:Datatype" use="@rdf:about"/>
        <key name="Vocab:named-property" match="owl:AnnotationProperty|owl:DatatypeProperty|owl:ObjectProperty" use="@rdf:about"/>
        <key name="Vocab:named-individual" match="owl:NamedIndividual" use="@rdf:about|owl:sameAs/@rdf:resource"/>
        <key name="Vocab:subclass" match="owl:Class|owl:Restriction" use="rdfs:subClassOf/@rdf:resource"/>
        <key name="Vocab:subproperty" match="owl:AnnotationProperty|owl:DatatypeProperty|owl:ObjectProperty" use="rdfs:subPropertyOf/@rdf:resource"/>
-       <template name="Vocab:base">
-               <value-of select="//rdf:RDF//owl:Ontology/shacl:declare/shacl:namespace[preceding-sibling::shacl:prefix='']"/>
-       </template>
        <template name="Vocab:link-to">
                <param name="resource"/>
                <param name="kind" select="'individual'"/>
@@ -224,20 +220,6 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                        </element>
                </if>
        </template>
-       <template name="Vocab:prefix">
-               <param name="unprefixed" select="''"/>
-               <variable name="namespace" select="//rdf:RDF//owl:Ontology/shacl:declare/shacl:namespace[starts-with($unprefixed, string()) and string(preceding-sibling::shacl:prefix)!=''][1]"/>
-               <choose>
-                       <when test="not($namespace)">
-                               <value-of select="$unprefixed"/>
-                       </when>
-                       <otherwise>
-                               <value-of select="$namespace/preceding-sibling::shacl:prefix"/>
-                               <text>:</text>
-                               <value-of select="substring-after($unprefixed, $namespace)"/>
-                       </otherwise>
-               </choose>
-       </template>
        <template match="/书社:archive">
                <variable name="base-iri">
                        <call-template name="Vocab:base"/>
This page took 0.032911 seconds and 4 git commands to generate.