comparison rect.xsl @ 49:d3569a8cbf7a

shared refs rebuilt correctly
author Henry S. Thompson <ht@markup.co.uk>
date Wed, 10 May 2017 20:13:06 +0100
parents 5d9806f90896
children
comparison
equal deleted inserted replaced
48:5d9806f90896 49:d3569a8cbf7a
67 <xsl:choose> 67 <xsl:choose>
68 <xsl:when test="$c/s:f/text()"> 68 <xsl:when test="$c/s:f/text()">
69 <xsl:sequence select="e:analyse($c/s:f/text(),$row,$col)"/> 69 <xsl:sequence select="e:analyse($c/s:f/text(),$row,$col)"/>
70 </xsl:when> 70 </xsl:when>
71 <xsl:when test="$c/s:f/@si"> 71 <xsl:when test="$c/s:f/@si">
72 <xsl:copy-of select="key('shared',$si,$shared)/*"/> 72 <xsl:variable name="s" select="key('shared',$si,$shared)"/>
73 <xsl:for-each select="$s/e:f"><xsl:call-template name="shift">
74 <xsl:with-param name="row" select="$row"/>
75 <xsl:with-param name="col" select="$col"/>
76 </xsl:call-template></xsl:for-each>
77 <xsl:copy-of select="$s/e:nf"/>
73 </xsl:when> 78 </xsl:when>
74 </xsl:choose> 79 </xsl:choose>
75 <xsl:value-of select="substring($c/@e:type,1,1)"/> 80 <xsl:value-of select="substring($c/@e:type,1,1)"/>
76 </xsl:if> 81 </xsl:if>
77 </c> 82 </c>