[jsword-svn] bibledesktop/resource/xsl/cswing s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sun Feb 27 19:21:28 MST 2005
Update of /cvs/jsword/bibledesktop/resource/xsl/cswing
In directory www.crosswire.org:/tmp/cvs-serv26301/resource/xsl/cswing
Modified Files:
simple.xsl
Log Message:
Fixed the display of the conf (BD-16, 17 & 18)
Index: simple.xsl
===================================================================
RCS file: /cvs/jsword/bibledesktop/resource/xsl/cswing/simple.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** simple.xsl 30 Aug 2004 09:26:14 -0000 1.7
--- simple.xsl 28 Feb 2005 02:21:26 -0000 1.8
***************
*** 414,423 ****
</xsl:template>
- <xsl:template match="hi">
- <span class="hi">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
-
<xsl:template match="index">
<a name="index{@id}" class="index"/>
--- 414,417 ----
***************
*** 609,612 ****
--- 603,607 ----
<xsl:element name="{$element-name}">
<xsl:attribute name="class">cell</xsl:attribute>
+ <xsl:attribute name="valign">top</xsl:attribute>
<xsl:if test="@rows">
<xsl:attribute name="rowspan">
***************
*** 629,663 ****
</xsl:template>
!
! <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
! Named templates
! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
!
! <xsl:template name="trim-zeros-from-number">
! <xsl:param name="number" select="'0'"/>
! <xsl:value-of select="string(number($number))"/>
</xsl:template>
- <xsl:template name="print-prev-next-links">
- <xsl:param name="div" select="."/>
-
- <xsl:variable name="previous-section" select="$div/preceding::div[@type = $page-div-type][1]"/>
- <xsl:variable name="next-section" select="$div/following::div[@type = $page-div-type][1]"/>
- <xsl:if test="$previous-section or $next-section">
- <table width="100%" class="navigation">
- <tr>
- <xsl:if test="$previous-section">
- <td align="left">
- <a href="{$previous-section/@osisID}.html" class="previous-link">[< Previous]</a>
- </td>
- </xsl:if>
- <xsl:if test="$next-section">
- <td align="right">
- <a href="{$next-section/@osisID}.html" class="next-link">[Next >]</a>
- </td>
- </xsl:if>
- </tr>
- </table>
- </xsl:if>
- </xsl:template>
</xsl:stylesheet>
--- 624,659 ----
</xsl:template>
! <xsl:template match="hi">
! <xsl:choose>
! <xsl:when test="@rend = 'bold'">
! <b><xsl:apply-templates/></b>
! </xsl:when>
! <xsl:when test="@rend = 'illuminated'">
! <b><i><xsl:apply-templates/></i></b>
! </xsl:when>
! <xsl:when test="@rend = 'italic'">
! <i><xsl:apply-templates/></i>
! </xsl:when>
! <xsl:when test="@rend = 'line-through'">
! <!-- later -->
! <xsl:apply-templates/>
! </xsl:when>
! <xsl:when test="@rend = 'normal'">
! <!-- later -->
! <xsl:apply-templates/>
! </xsl:when>
! <xsl:when test="@rend = 'small-caps'">
! <!-- later -->
! <xsl:apply-templates/>
! </xsl:when>
! <xsl:when test="@rend = 'underline'">
! <!-- later -->
! <xsl:apply-templates/>
! </xsl:when>
! <xsl:otherwise>
! <xsl:apply-templates/>
! </xsl:otherwise>
! </xsl:choose>
</xsl:template>
</xsl:stylesheet>
More information about the jsword-svn
mailing list