Mercurial > hg > Aquinas
comparison summa/bilingual/merge.xsl @ 88:f34d539f9b78
more status as we go
| author | ht |
|---|---|
| date | Sun, 03 Feb 2013 10:51:42 +0000 |
| parents | 734a1915d5e2 |
| children | eea25317dfad |
comparison
equal
deleted
inserted
replaced
| 87:75219c0115ca | 88:f34d539f9b78 |
|---|---|
| 8 <xsl:variable name="latin" select="for $lf in tokenize($lfs,';') return document($lf,/)/*"/> | 8 <xsl:variable name="latin" select="for $lf in tokenize($lfs,';') return document($lf,/)/*"/> |
| 9 <xsl:key name="lq" match="x:div[@class='q']" use="@id"/> | 9 <xsl:key name="lq" match="x:div[@class='q']" use="@id"/> |
| 10 <xsl:variable name="di" select="/x:div/@id"/> | 10 <xsl:variable name="di" select="/x:div/@id"/> |
| 11 <xsl:variable name="qi" select="concat('q',substring-after($di,'_Q'))"/> | 11 <xsl:variable name="qi" select="concat('q',substring-after($di,'_Q'))"/> |
| 12 <xsl:variable name="la" select="for $ld in $latin return key('lq',$qi,$ld)"/> | 12 <xsl:variable name="la" select="for $ld in $latin return key('lq',$qi,$ld)"/> |
| 13 | |
| 14 <xsl:template match="/"> | |
| 15 <xsl:message> | |
| 16 <xsl:value-of select="$di"/>|<xsl:value-of select="$qi"/>|<xsl:value-of select="count($la)"/> | |
| 17 </xsl:message> | |
| 18 <xsl:apply-templates/> | |
| 19 </xsl:template> | |
| 13 | 20 |
| 14 <xsl:template match="node()|@*"> | 21 <xsl:template match="node()|@*"> |
| 15 <xsl:copy> | 22 <xsl:copy> |
| 16 <xsl:apply-templates select="node()|@*"/> | 23 <xsl:apply-templates select="node()|@*"/> |
| 17 </xsl:copy> | 24 </xsl:copy> |
