SPDX-License-Identifier: MPL-2.0
-->
<!--
-⁌ ⛩️📰 书社 ∷ parsers/tsv.xslt
+⁌ ⛩📰 书社 ∷ parsers/tsv.xslt
© 2023–2024 Lady [@ Lady’s Computer].
</call-template>
</variable>
<html:tr>
- <for-each select="exsl:node-set($cols)/*[count(exsl:node-set($headcols)/*)>position()]">
+ <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:*">
+ <for-each select="following-sibling::*">
<text>	</text>
<value-of select="."/>
</for-each>