[sword-devel] CzeCSP xref encoding error

Matěj Cepl mcepl at redhat.com
Thu Apr 10 11:49:08 MST 2014

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

  <!-- 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,'!', at n)" /></xsl:attribute>
      <xsl:attribute name="n"><xsl:value-of
select="./@n" /></xsl:attribute>
      <xsl:apply-templates select="//defpozno[@n=$N]"
mode="collect-footnote" />



http://www.ceplovi.cz/matej/, Jabber: mcepl at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140410/c11ee624/attachment.sig>

More information about the sword-devel mailing list