Mercurial > hg > ooxml
comparison refs.xsl @ 46:8dd54346bfd8
tabulate unique normalised formulae
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Sun, 07 May 2017 22:03:31 +0100 |
parents | 6ed900e8cc61 |
children | 3e9a3e51627e |
comparison
equal
deleted
inserted
replaced
45:6ed900e8cc61 | 46:8dd54346bfd8 |
---|---|
13 <xsl:variable name="c" select="@c"/> | 13 <xsl:variable name="c" select="@c"/> |
14 <xsl:variable name="i" select="concat(e:n2a($c),$r)"/> | 14 <xsl:variable name="i" select="concat(e:n2a($c),$r)"/> |
15 <xsl:if test="@r='xxx' and @c='1'"><xsl:message><xsl:value-of select="count(e:f/*)"/>|</xsl:message> | 15 <xsl:if test="@r='xxx' and @c='1'"><xsl:message><xsl:value-of select="count(e:f/*)"/>|</xsl:message> |
16 </xsl:if> | 16 </xsl:if> |
17 <nf r="{$i}"><xsl:value-of select="e:fnf(e:f/*)"/></nf> | 17 <nf r="{$i}"><xsl:value-of select="e:fnf(e:f/*)"/></nf> |
18 <xsl:if test="e:f[e:s|e:r]"><ref r="{$i}"><xsl:apply-templates select="e:f[e:s|e:r]"/></ref></xsl:if> | 18 <xsl:if test="e:f[e:s|e:r]"><ref r="{$i}"><xsl:apply-templates select="e:f/(e:s|e:r)"/></ref></xsl:if> |
19 </xsl:template> | 19 </xsl:template> |
20 | 20 |
21 <xsl:template match="e:c"/> | 21 <xsl:template match="e:c"/> |
22 | 22 |
23 <xsl:template match="node()|@*"> | 23 <xsl:template match="node()|@*"> |