X-Git-Url: https://git.ladys.computer/Shushe/blobdiff_plain/edacd9742b9feb3d3d6e10f41b6b077cb51e8002..9a147dd6b69654511bcd4702235d261c0d9d9b71:/parsers/record-jar.xslt?ds=inline diff --git a/parsers/record-jar.xslt b/parsers/record-jar.xslt index db8948e..bd04730 100644 --- a/parsers/record-jar.xslt +++ b/parsers/record-jar.xslt @@ -1,8 +1,12 @@ <?xml version="1.0"?> <!-- -⁌ ⛩️📰 书社 ∷ parsers/record-jar.xslt +SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady> +SPDX-License-Identifier: MPL-2.0 +--> +<!-- +⁌ ⛩📰 书社 ∷ parsers/record-jar.xslt -© 2024 Lady [@ Lady’s 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/>. @@ -13,13 +17,13 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one xmlns:exslstr="http://exslt.org/strings" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4" - exclude-result-prefixes="exsl exslstr" + extension-element-prefixes="exsl exslstr" version="1.0" > <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:record-jar.xslt</书社:id> <template match="html:script[@type='text/record-jar']"> <variable name="lines" select="exslstr:tokenize(., '
')"/> - <html:div class="record-jar"> + <html:div> <for-each select="$lines[not(position()=1) and starts-with(., '%%')]"> <variable name="end" select="."/> <variable name="start" select="preceding-sibling::*[starts-with(., '%%')][1]"/>