]> Lady’s Gitweb - Shushe/blobdiff - parsers/tsv.xslt
Remove variation selectors from sigil
[Shushe] / parsers / tsv.xslt
index 9018beaf6280fe7d27d28d51c6c1d17702ff1785..44a161c9bd28b88ecbedefac3414f8905ff1f193 100644 (file)
@@ -4,7 +4,7 @@ SPDX-FileCopyrightText: 2023, 2024 Lady <https://www.ladys.computer/about/#lady>
 SPDX-License-Identifier: MPL-2.0
 -->
 <!--
-⁌ ⛩📰 书社 ∷ parsers/tsv.xslt
+⁌ ⛩📰 书社 ∷ parsers/tsv.xslt
 
 © 2023–2024 Lady [@ Lady’s Computer].
 
@@ -53,6 +53,9 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                        <html:tr>
                                                <for-each select="exsl:node-set($cols)/*[count(exsl:node-set($headcols)/*)>=position()]">
                                                        <html:td>
+                                                               <attribute name="data-tsv-header">
+                                                                       <value-of select="exsl:node-set($headcols)/*[count(current()/preceding-sibling::*)+1]"/>
+                                                               </attribute>
                                                                <value-of select="."/>
                                                                <if test="position()=count(exsl:node-set($headcols)/*)">
                                                                        <for-each select="following-sibling::*">
This page took 0.107229 seconds and 4 git commands to generate.