]> Lady’s Gitweb - Caudex/blobdiff - lib/split.xslt
Update ⛩📰 书社; use 💄📝 Les·M·L as markup format
[Caudex] / lib / split.xslt
diff --git a/lib/split.xslt b/lib/split.xslt
deleted file mode 100644 (file)
index bf05118..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<!--
-⁌ 🪾📰 Caudex ∷ lib/split.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:html="http://www.w3.org/1999/xhtml"
-       exclude-result-prefixes="Caudex"
-       version="1.0"
->
-       <template name="Caudex:split">
-               <param name="source"/>
-               <param name="separator" select="'&#xA;'"/>
-               <choose>
-                       <when test="contains($source, $separator)">
-                               <html:span>
-                                       <value-of select="substring-before($source, $separator)"/>
-                               </html:span>
-                               <call-template name="Caudex:split">
-                                       <with-param name="source" select="substring-after($source, $separator)"/>
-                                       <with-param name="separator" select="$separator"/>
-                               </call-template>
-                       </when>
-                       <otherwise>
-                               <html:span>
-                                       <value-of select="$source"/>
-                               </html:span>
-                       </otherwise>
-               </choose>
-       </template>
-</transform>
This page took 0.023221 seconds and 4 git commands to generate.