]> Lady’s Gitweb - Shushe/commitdiff
Remove classes from parse results 0.4.0
authorLady <redacted>
Thu, 18 Jan 2024 14:06:39 +0000 (09:06 -0500)
committerLady <redacted>
Thu, 18 Jan 2024 14:06:39 +0000 (09:06 -0500)
Now that `@书社:parsed-by` is provided, these are unnecessary.

parsers/plain.xslt
parsers/record-jar.xslt
parsers/tsv.xslt

index c12cbe50295a59175c8236be97c482b344fbff75..6008698557ec68735f6bbb4763f11f0b647ac6c2 100644 (file)
@@ -15,6 +15,6 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 >
        <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:plain.xslt</书社:id>
        <template match="html:script[@type='text/plain']">
-               <html:pre class="plain"><value-of select="."/></html:pre>
+               <html:pre><value-of select="."/></html:pre>
        </template>
 </transform>
index db8948e9c8e6fe4b2e7f6f6e1d58a4bd74127c29..7690b1ca2cc441e2e5ab2df72adc467bdf2ab735 100644 (file)
@@ -19,7 +19,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
        <书社: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(., '&#xA;')"/>
-               <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]"/>
index ad7052e2fad764a55d610721ddc4401be6dd0b37..a3dd9275b8cc42da52fa7a641e2c1b6ab3196f1a 100644 (file)
@@ -21,7 +21,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                <variable name="rows" select="exslstr:tokenize(., '&#xA;')[normalize-space(.) and not(starts-with(., '#'))]"/>
                <variable name="head" select="$rows[1]"/>
                <variable name="body" select="$rows[not(position()=1)]"/>
-               <html:table class="tsv">
+               <html:table>
                        <html:thead>
                                <html:tr>
                                        <for-each select="exslstr:tokenize($head, '&#x9;')">
This page took 0.026697 seconds and 4 git commands to generate.