]> Lady’s Gitweb - Caudex/blobdiff - transforms/index.xslt
Make repository REUSE‐compliant
[Caudex] / transforms / index.xslt
index 7bb1ef85096983fc965c13be8a3734b5b69b33ba..fdcfe8bce788eb6046bfc19ae3c4661ff2c2fbc3 100644 (file)
@@ -1,14 +1,19 @@
 <?xml version="1.0"?>
 <!--
 <?xml version="1.0"?>
 <!--
-⁌ 🪾📰 Caudex ∷ transforms/entry.xslt
+SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
+SPDX-License-Identifier: MPL-2.0
+-->
+<!--
+⁌ 🪾📰 Caudex ∷ transforms/index.xslt
 
 
-© 2024 Lady [@ Ladys Computer]
+© 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/>.
 -->
 <!DOCTYPE transform [
        <!ENTITY Caudex "urn:fdc:ladys.computer:20240204:Caudex:">
 
 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/>.
 -->
 <!DOCTYPE transform [
        <!ENTITY Caudex "urn:fdc:ladys.computer:20240204:Caudex:">
+       <!ENTITY LesML "urn:fdc:ladys.computer:20240512:LesML:">
        <!ENTITY 书社 "urn:fdc:ladys.computer:20231231:Shu1She4:">
 ]>
 <transform
        <!ENTITY 书社 "urn:fdc:ladys.computer:20231231:Shu1She4:">
 ]>
 <transform
@@ -20,7 +25,6 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
        exclude-result-prefixes="exsl"
        version="1.0"
 >
        exclude-result-prefixes="exsl"
        version="1.0"
 >
-       <import href="../lib/split.xslt"/>
        <书社:id>&Caudex;index.xslt</书社:id>
        <template match="/html:div[@书社:parsed-by='&Caudex;catalog.xslt'][@class='index' or @class='fullindex']">
                <html:body>
        <书社:id>&Caudex;index.xslt</书社:id>
        <template match="/html:div[@书社:parsed-by='&Caudex;catalog.xslt'][@class='index' or @class='fullindex']">
                <html:body>
@@ -46,10 +50,10 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                                                        </choose>
                                                                </html:strong>
                                                                <html:ul>
                                                                        </choose>
                                                                </html:strong>
                                                                <html:ul>
-                                                                       <for-each select="html:div[@id!='@']/html:div[@书社:parsed-by='&Caudex;codex-entry.xslt']">
-                                                                               <sort select="html:div[@书社:parsed-by='&书社;record-jar.xslt']/html:dl[1]//html:dt[string()='TITLE']/following-sibling::html:dd"/>
+                                                                       <for-each select="html:div[@id!='@']/html:article[@书社:parsed-by='&LesML;parser.xslt']">
+                                                                               <sort select="html:footer[@class='head']/html:dl[1]//html:dt[string()='TITLE']/following-sibling::html:dd"/>
                                                                                <sort select="../@id"/>
                                                                                <sort select="../@id"/>
-                                                                               <variable name="entry-metadata" select="html:div[@书社:parsed-by='&书社;record-jar.xslt']/html:dl[1]"/>
+                                                                               <variable name="entry-metadata" select="html:footer[@class='head']/html:dl[1]"/>
                                                                                <html:li>
                                                                                        <html:a href="{../@id}.xhtml" data-identifier="{../@id}" data-cksum="{@书社:cksum}">
                                                                                                <value-of select="$entry-metadata//html:dt[string()='TITLE']/following-sibling::html:dd"/>
                                                                                <html:li>
                                                                                        <html:a href="{../@id}.xhtml" data-identifier="{../@id}" data-cksum="{@书社:cksum}">
                                                                                                <value-of select="$entry-metadata//html:dt[string()='TITLE']/following-sibling::html:dd"/>
@@ -69,7 +73,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                </html:nav>
                                <html:div id="pane">
                                        <if test="@class='fullindex'">
                                </html:nav>
                                <html:div id="pane">
                                        <if test="@class='fullindex'">
-                                               <for-each select=".//html:div[@书社:parsed-by='&Caudex;catalog.xslt'][@class='category']/html:div[@id!='@']/html:div[@书社:parsed-by='&Caudex;codex-entry.xslt']">
+                                               <for-each select=".//html:div[@书社:parsed-by='&Caudex;catalog.xslt'][@class='category']/html:div[@id!='@']/html:article[@书社:parsed-by='&LesML;parser.xslt']">
                                                        <variable name="context" select="."/>
                                                        <variable name="entry">
                                                                <html:div 书社:parsed-by="&Caudex;catalog.xslt" class="entry">
                                                        <variable name="context" select="."/>
                                                        <variable name="entry">
                                                                <html:div 书社:parsed-by="&Caudex;catalog.xslt" class="entry">
This page took 0.02283 seconds and 4 git commands to generate.