On Thu, 2014-04-10 at 20:49 +0200, Matěj Cepl wrote: > On Thu, 2014-04-10 at 20:44 +0200, Matěj Cepl wrote: > > BTW, my XSLT script is > > http://luther.ceplovi.cz/git/czekms-csp_bible.git/tree/CEP2OSIS.xsl if > > you have any comments on it (apparently your XSLT abilities are much > > higher than mine). > > So, I guess it will be just a bit simpler, I need just to modify this > template: > > <!-- refers to other place in Bible --> > <xsl:template match="odkazo">
Err, this one as well: <!-- refers to a text note --> <xsl:template match="odkaz"> <xsl:variable name="refID" ><xsl:call-template name="getRefID" /></xsl:variable> <xsl:variable name="N" select="./@n"/> <xsl:element name="note"> <xsl:attribute name="type">study</xsl:attribute> <xsl:attribute name="osisRef"><xsl:value-of select="$refID" /></xsl:attribute> <xsl:attribute name="osisID"><xsl:value-of select="concat($refID,'!',@n)" /></xsl:attribute> <xsl:attribute name="n"><xsl:value-of select="./@n" /></xsl:attribute> <xsl:apply-templates select="//defpozn[@n=$N]" mode="collect-footnote" /> </xsl:element> </xsl:template> -- http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC My life has been full of terrible misfortunes most of which never happened. -- Michel de Montaigne
signature.asc
Description: This is a digitally signed message part
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page