[jsword-svn] r1007 - trunk/bibledesktop/src/main/resources/xsl/cswing

dmsmith at crosswire.org dmsmith at crosswire.org
Sat Feb 18 15:54:04 MST 2006


Author: dmsmith
Date: 2006-02-18 15:53:59 -0700 (Sat, 18 Feb 2006)
New Revision: 1007

Modified:
   trunk/bibledesktop/src/main/resources/xsl/cswing/simple.xsl
Log:
Updating xsl to OSIS 2.1

Modified: trunk/bibledesktop/src/main/resources/xsl/cswing/simple.xsl
===================================================================
--- trunk/bibledesktop/src/main/resources/xsl/cswing/simple.xsl	2006-02-17 13:06:44 UTC (rev 1006)
+++ trunk/bibledesktop/src/main/resources/xsl/cswing/simple.xsl	2006-02-18 22:53:59 UTC (rev 1007)
@@ -208,7 +208,7 @@
   <!--=======================================================================-->
   <!--
     == Each work has an osisText element.
-    == We ignore the header and work elements an process its div elements.
+    == We ignore the header and work elements and process its div elements.
     == While divs can be milestoned, the osisText element requires container
     == divs.
     -->
@@ -875,9 +875,15 @@
   
   <xsl:template match="hi">
       <xsl:choose>
+        <xsl:when test="@type = 'acrostic'">
+          <font class="acrostic"><xsl:apply-templates/></font>
+        </xsl:when>
         <xsl:when test="@type = 'bold'">
           <strong><xsl:apply-templates/></strong>
         </xsl:when>
+        <xsl:when test="@type = 'emphasis'">
+          <em><xsl:apply-templates/></em>
+        </xsl:when>
         <xsl:when test="@type = 'illuminated'">
           <strong><em><xsl:apply-templates/></em></strong>
         </xsl:when>
@@ -893,6 +899,12 @@
         <xsl:when test="@type = 'small-caps'">
           <font class="small-caps"><xsl:apply-templates/></font>
         </xsl:when>
+        <xsl:when test="@type = 'sub'">
+          <sub><xsl:apply-templates/></sub>
+        </xsl:when>
+        <xsl:when test="@type = 'super'">
+          <sup><xsl:apply-templates/></sup>
+        </xsl:when>
         <xsl:when test="@type = 'underline'">
           <u><xsl:apply-templates/></u>
         </xsl:when>



More information about the jsword-svn mailing list