]> Lady’s Gitweb - Shushe/blobdiff - transforms/asset.xslt
Add nfo:fileName to file metadata
[Shushe] / transforms / asset.xslt
index 55b449b64ea5fbe05ca12d9b53bfc0b2c4184d2b..02cba0333e1828cae3140c09089a0338bdfca96a 100644 (file)
@@ -1,8 +1,12 @@
 <?xml version="1.0"?>
 <!--
-⁌ ⛩️📰 书社 ∷ transforms/asset.xslt
+SPDX-FileCopyrightText: 2023, 2024 Lady <https://www.ladys.computer/about/#lady>
+SPDX-License-Identifier: MPL-2.0
+-->
+<!--
+⁌ ⛩📰 书社 ∷ transforms/asset.xslt
 
-© 2023–2024 Lady [@ Lady’s Computer]
+© 2023–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/>.
@@ -13,7 +17,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
        xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
-       exclude-result-prefixes="exsl"
+       extension-element-prefixes="exsl"
        version="1.0"
 >
        <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:asset.xslt</书社:id>
@@ -39,12 +43,12 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                </html:video>
        </template>
        <template match="xslt:include[@书社:id='urn:fdc:ladys.computer:20231231:Shu1She4:asset.xslt']" mode="书社:metadata">
-               <for-each select="exsl:node-set($书社:expansion)//html:object[@type='text/css']">
+               <for-each select="$书社:expansion//html:object[@type='text/css']">
                        <html:link rel="stylesheet" type="text/css" href="{@data}">
                                <copy-of select="@书社:identifier"/>
                        </html:link>
                </for-each>
-               <for-each select="exsl:node-set($书社:expansion)//html:style">
+               <for-each select="$书社:expansion//html:style">
                        <copy-of select="."/>
                </for-each>
        </template>
This page took 0.021965 seconds and 4 git commands to generate.