[sword-svn] r128 - in trunk/thml2osis/xslt: . tests

lukeplant at www.crosswire.org lukeplant at www.crosswire.org
Fri Nov 30 09:02:16 MST 2007


Author: lukeplant
Date: 2007-11-30 09:02:16 -0700 (Fri, 30 Nov 2007)
New Revision: 128

Modified:
   trunk/thml2osis/xslt/tests/body1.osis.flat
   trunk/thml2osis/xslt/tests/body1.thml
   trunk/thml2osis/xslt/thml2osis.xslt
Log:
Added handling for 'div4' tag


Modified: trunk/thml2osis/xslt/tests/body1.osis.flat
===================================================================
--- trunk/thml2osis/xslt/tests/body1.osis.flat	2007-11-30 15:49:52 UTC (rev 127)
+++ trunk/thml2osis/xslt/tests/body1.osis.flat	2007-11-30 16:02:16 UTC (rev 128)
@@ -687,3 +687,5 @@
 /osis/osisText/div/div/div/index/@level2=Bar
 /osis/osisText/div/div/div/index/@level3=Baz
 /osis/osisText/div/div/div/index/@level4=Frobble
+/osis/osisText/div/div/div
+/osis/osisText/div/div/div/div/p=Par in a div4 in a div 3

Modified: trunk/thml2osis/xslt/tests/body1.thml
===================================================================
--- trunk/thml2osis/xslt/tests/body1.thml	2007-11-30 15:49:52 UTC (rev 127)
+++ trunk/thml2osis/xslt/tests/body1.thml	2007-11-30 16:02:16 UTC (rev 128)
@@ -421,6 +421,11 @@
 <index type="subject" subject1="Foo" subject2="Bar" title="Baz"/>
 <index type="subject" subject1="Foo" subject2="Bar" subject3="Baz" title="Frobble"/>
 </scripCom>
+<div3>
+<div4>
+<p>Par in a div4 in a div 3</p>
+</div4>
+</div3>
 </div2>
 </div1>
 

Modified: trunk/thml2osis/xslt/thml2osis.xslt
===================================================================
--- trunk/thml2osis/xslt/thml2osis.xslt	2007-11-30 15:49:52 UTC (rev 127)
+++ trunk/thml2osis/xslt/thml2osis.xslt	2007-11-30 16:02:16 UTC (rev 128)
@@ -229,7 +229,7 @@
   </xsl:template>
 
   <!-- div -->
-  <xsl:template match="//ThML.body//div1 | //ThML.body//div2 | //ThML.body//div3">
+  <xsl:template match="//ThML.body//div1 | //ThML.body//div2 | //ThML.body//div3 | //ThML.body//div4">
     <div>
       <xsl:apply-templates />
     </div>




More information about the sword-cvs mailing list