Mercurial > hg > Aquinas
changeset 65:036ea6d3e18b
switch to list of latin files
| author | ht |
|---|---|
| date | Sun, 03 Jan 2010 17:17:16 +0000 |
| parents | 11682db9b870 |
| children | f17b1346319e |
| files | summa/bilingual/merge.xsl |
| diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/summa/bilingual/merge.xsl Sun Jan 03 14:43:02 2010 +0000 +++ b/summa/bilingual/merge.xsl Sun Jan 03 17:17:16 2010 +0000 @@ -4,12 +4,12 @@ <!-- Merge wrapped latin and prepped english to produce two-column bilingual for a single Summa Question --> - <xsl:param name="lf">xyzzy</xsl:param> - <xsl:variable name="latin" select="document($lf,/)/*"/> + <xsl:param name="lfs">xyzzy</xsl:param><!-- names of latin files --> + <xsl:variable name="latin" select="for $lf in tokenize($lfs,';') return document($lf,/)/*"/> <xsl:key name="lq" match="x:div[@class='q']" use="@id"/> <xsl:variable name="di" select="/x:div/@id"/> <xsl:variable name="qi" select="concat('q',substring-after($di,'_Q'))"/> - <xsl:variable name="la" select="key('lq',$qi,$latin)"/> + <xsl:variable name="la" select="for $ld in $latin return key('lq',$qi,$ld)"/> <xsl:template match="node()|@*"> <xsl:copy>
