]> Lady’s Gitweb - Caudex/blobdiff - parsers/codex-entry.xslt
Update ⛩📰 书社; use 💄📝 Les·M·L as markup format
[Caudex] / parsers / codex-entry.xslt
diff --git a/parsers/codex-entry.xslt b/parsers/codex-entry.xslt
deleted file mode 100644 (file)
index d854ebe..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<!--
-⁌ 🪾📰 Caudex ∷ parsers/codex-entry.xslt
-
-© 2024 Lady [@ Lady’s 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:Caudex="urn:fdc:ladys.computer:20240204:Caudex"
-       xmlns:exsl="http://exslt.org/common"
-       xmlns:html="http://www.w3.org/1999/xhtml"
-       xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
-       exclude-result-prefixes="exsl Caudex"
-       version="1.0"
->
-       <import href="../lib/split.xslt"/>
-       <书社:id>urn:fdc:ladys.computer:20240204:Caudex:codex-entry.xslt</书社:id>
-       <template match="html:script[@type='text/x.codex-entry']">
-               <variable name="lines">
-                       <call-template name="Caudex:split">
-                               <with-param name="source" select="string()"/>
-                       </call-template>
-               </variable>
-               <variable name="linespans" select="exsl:node-set($lines)/*"/>
-               <variable name="record-end" select="$linespans[starts-with(., '%%')][last()]"/>
-               <variable name="text-start" select="$record-end/following-sibling::*[string()!=''][1]"/>
-               <html:div>
-                       <html:script type="text/record-jar">
-                               <for-each select="$record-end/preceding-sibling::*|$record-end">
-                                       <value-of select="."/>
-                                       <text>&#xA;</text>
-                               </for-each>
-                       </html:script>
-                       <html:script type="text/plain">
-                               <for-each select="$text-start|$text-start/following-sibling::*">
-                                       <value-of select="."/>
-                                       <text>&#xA;</text>
-                               </for-each>
-                       </html:script>
-               </html:div>
-       </template>
-</transform>
This page took 0.068605 seconds and 4 git commands to generate.