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">
    <xsl:variable name="N" select="@n"/>
    <xsl:variable name="refID" ><xsl:call-template
name="getRefID" /></xsl:variable>
    <xsl:element name="note">
      <xsl:attribute name="type">crossReference</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="//defpozno[@n=$N]"
mode="collect-footnote" />
    </xsl:element>
  </xsl:template>

Interesting.

Matěj

-- 
http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
If you are not paying for it, you're not the customer; you're the
product being sold.
  -- blue_beetle (2010-08-26)
     http://www.metafilter.com/95152/Userdriven-discontent#3256046

Attachment: 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

Reply via email to