]> Lady’s Gitweb - Shushe/blobdiff - lib/metadata2destinations.xslt
Simplify metadata using new 书社vocab terms
[Shushe] / lib / metadata2destinations.xslt
index e1fe1cd6a19725a04dec4f81aa0462081ca01b4e..e82aa0b36cdd1e6857a7593853fcf56e40e0eed7 100644 (file)
@@ -13,16 +13,15 @@ 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"
 -->
 <transform
        xmlns="http://www.w3.org/1999/XSL/Transform"
-       xmlns:dct="http://purl.org/dc/terms/"
-       xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+       xmlns:书社vocab="urn:fdc:ladys.computer:20231231:Shu1She4:vocab:"
        version="1.0"
 >
        <template match="/">
        version="1.0"
 >
        <template match="/">
-               <for-each select="/rdf:RDF/nfo:LocalFileDataObject[starts-with(@rdf:about, 'about:shushe?source=')]">
+               <for-each select="//书社vocab:SourceFile">
                        <value-of select="@rdf:about"/>
                        <text>|</text>
                        <value-of select="@rdf:about"/>
                        <text>|</text>
-                       <value-of select="dct:hasFormat/nfo:LocalFileDataObject[@dct:creator='urn:fdc:ladys.computer:20231231:Shu1She4']/@nfo:fileName"/>
+                       <value-of select="@书社vocab:destination"/>
                        <text>&#xA;</text>
                </for-each>
        </template>
                        <text>&#xA;</text>
                </for-each>
        </template>
This page took 0.024751 seconds and 4 git commands to generate.