+<?xml version="1.0"?>
+<!--
+⁌ ⛩️📰 书社 ∷ 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:html="http://www.w3.org/1999/xhtml"
+ xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
+ version="1.0"
+>
+ <template name="书社:split">
+ <param name="source"/>
+ <param name="separator" select="'
'"/>
+ <choose>
+ <when test="contains($source, $separator)">
+ <html:span>
+ <value-of select="substring-before($source, $separator)"/>
+ </html:span>
+ <call-template name="书社: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>