Mercurial > hg > ooxml
diff rect.xsl @ 39:4c6a341e75da
big rework works on sample2, w/o refs processing
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Wed, 26 Apr 2017 18:51:34 +0100 |
parents | 468a6cf8bf0b |
children | ac6d1ca099f7 |
line wrap: on
line diff
--- a/rect.xsl Tue Apr 25 22:17:12 2017 +0100 +++ b/rect.xsl Wed Apr 26 18:51:34 2017 +0100 @@ -7,7 +7,7 @@ <xsl:include href="n2a.xsl"/> <xsl:include href="tokenise.xsl"/> - <xsl:variable name="refs" select="collection()[2]/*"/> + <xsl:variable name="refs" select="document('sample2/empty_refs.xml')/*"/><!--collection()[2]/*--> <xsl:key name="ref" match="e:i" use="@r"/> @@ -42,9 +42,9 @@ <xsl:if test="$c/@e:class"><xsl:attribute name="c"><xsl:value-of select="substring($c/@e:class,1,1)"/></xsl:attribute></xsl:if> <xsl:if test="$c/@e:code"><xsl:attribute name="l"><xsl:value-of select="$c/@e:code"/></xsl:attribute></xsl:if> <xsl:if test="$c/s:f"> - <s:f> + <f> <xsl:copy-of select="e:tokenise($c/s:f,$row,$col)"/> - </s:f></xsl:if> + </f></xsl:if> <xsl:value-of select="substring($c/@e:type,1,1)"/> </t> </xsl:if>