diff tokenise.xsl @ 54:191c95187e87

working now on enron1k, uli1/sheet1
author Henry S. Thompson <ht@markup.co.uk>
date Tue, 16 May 2017 19:54:19 +0100
parents 8000dbed09df
children
line wrap: on
line diff
--- a/tokenise.xsl	Tue May 16 19:09:03 2017 +0100
+++ b/tokenise.xsl	Tue May 16 19:54:19 2017 +0100
@@ -114,12 +114,12 @@
   <xsl:sequence select="[$content?1,$x/*]"/>
  </xsl:function>
 
- <xsl:function name="e:oddx">
+ <xsl:function name="e:oddx">  
   <xsl:param name="tokens" as="element(xf:group)*"/>
   <xsl:param name="i" as="xs:integer"/>
   <xsl:param name="soFar" as="xs:string"/><!-- Will always be a lonely ' -->
-  <!-- Amalgamate bits of type 9 and 10 as <v> for wrapping in <e> -->
-  <xsl:variable name="content" select="e:amalgamate($tokens,$i,$soFar,(10,9),$soFar)"/>
+  <!-- Amalgamate bits of type 3, 9 and 10 as <v> for wrapping in <e> -->
+  <xsl:variable name="content" select="e:amalgamate($tokens,$i,$soFar,(10,9,3),$soFar)"/>
   <xsl:variable name="x"><v><xsl:value-of select="
     if ($tokens[$content?1]=$soFar)
     then concat($content?2,$soFar)