]> Lady’s Gitweb - Shushe/blobdiff - parsers/tsv.xslt
Fix T·S·V parser
[Shushe] / parsers / tsv.xslt
index 2597060cd697d5d7315deb1252c222c6f5e73799..9018beaf6280fe7d27d28d51c6c1d17702ff1785 100644 (file)
@@ -17,7 +17,7 @@ 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"
 >
        <import href="../lib/split.xslt"/>
@@ -51,11 +51,11 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                                </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>
                                                                <value-of select="."/>
                                                                <if test="position()=count(exsl:node-set($headcols)/*)">
-                                                                       <for-each select="following-sibling:*">
+                                                                       <for-each select="following-sibling::*">
                                                                                <text>&#x9;</text>
                                                                                <value-of select="."/>
                                                                        </for-each>
This page took 0.102298 seconds and 4 git commands to generate.