[jsword-svn] bibledesktop/resource/xsl/cswing s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Thu Mar 3 21:04:34 MST 2005
Update of /cvs/jsword/bibledesktop/resource/xsl/cswing
In directory www.crosswire.org:/tmp/cvs-serv25710/resource/xsl/cswing
Modified Files:
simple.xsl
Log Message:
Added Sapphire to decrypt NASB.
Modified lots of code to use it.
Changed OSIS seg to hi for italic, bold and underline.
Index: simple.xsl
===================================================================
RCS file: /cvs/jsword/bibledesktop/resource/xsl/cswing/simple.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** simple.xsl 28 Feb 2005 02:21:26 -0000 1.8
--- simple.xsl 4 Mar 2005 04:04:32 -0000 1.9
***************
*** 184,190 ****
</xsl:if>
<a name="{@osisID}"><sup class="verse"><xsl:value-of select="substring-after(substring-after(@osisID, '.'), '.')"/></sup></a>
! <font class="verse">
! <xsl:apply-templates/>
! </font>
</xsl:template>
--- 184,188 ----
</xsl:if>
<a name="{@osisID}"><sup class="verse"><xsl:value-of select="substring-after(substring-after(@osisID, '.'), '.')"/></sup></a>
! <xsl:apply-templates/>
</xsl:template>
***************
*** 274,286 ****
<xsl:template match="seg">
<xsl:choose>
- <xsl:when test="@type='font-style: italic;'">
- <i><xsl:apply-templates/></i>
- </xsl:when>
- <xsl:when test="@type='font-weight: bold;'">
- <b><xsl:apply-templates/></b>
- </xsl:when>
- <xsl:when test="@type='text-decoration: underline;'">
- <u><xsl:apply-templates/></u>
- </xsl:when>
<xsl:when test="starts-with(@type, 'color:')">
<font color="substring-before(substring-after(@type, 'color: '), ';')">
--- 272,275 ----
***************
*** 648,653 ****
</xsl:when>
<xsl:when test="@rend = 'underline'">
! <!-- later -->
! <xsl:apply-templates/>
</xsl:when>
<xsl:otherwise>
--- 637,641 ----
</xsl:when>
<xsl:when test="@rend = 'underline'">
! <u><xsl:apply-templates/></u>
</xsl:when>
<xsl:otherwise>
More information about the jsword-svn
mailing list