comparison rect.xsl @ 42:6f448ac67778

merge working with new refs(2), rect
author Henry S. Thompson <ht@markup.co.uk>
date Tue, 02 May 2017 10:20:59 +0100
parents ac6d1ca099f7
children 3e9a3e51627e
comparison
equal deleted inserted replaced
41:afda541de4c4 42:6f448ac67778
29 <xsl:for-each select="(1 to $width)"> 29 <xsl:for-each select="(1 to $width)">
30 <xsl:variable name="col" select="."/> 30 <xsl:variable name="col" select="."/>
31 <xsl:variable name="r" select="concat(e:n2a($col),string($row))"/> 31 <xsl:variable name="r" select="concat(e:n2a($col),string($row))"/>
32 <xsl:variable name="c" select="$cells[@r=$r]"/> 32 <xsl:variable name="c" select="$cells[@r=$r]"/>
33 <c c="{$col}"> 33 <c c="{$col}">
34 <xsl:if test="$c/s:f"><xsl:attribute name="f">1</xsl:attribute></xsl:if>
35 <xsl:if test="$c/*"> 34 <xsl:if test="$c/*">
36 <xsl:if test="$c/@e:class"><xsl:attribute name="t"><xsl:value-of select="substring($c/@e:class,1,1)"/></xsl:attribute></xsl:if> 35 <xsl:if test="$c/@e:class"><xsl:attribute name="t"><xsl:value-of select="substring($c/@e:class,1,1)"/></xsl:attribute></xsl:if>
37 <xsl:if test="$c/@e:code"><xsl:attribute name="l"><xsl:value-of select="$c/@e:code"/></xsl:attribute></xsl:if> 36 <xsl:if test="$c/@e:code"><xsl:attribute name="l"><xsl:value-of select="$c/@e:code"/></xsl:attribute></xsl:if>
38 <xsl:if test="$c/s:f"> 37 <xsl:if test="$c/s:f">
39 <f> 38 <f>