[jsword-devel] HTML Browser for BibleDesktop

DM Smith dmsmith555 at yahoo.com
Thu Mar 13 18:40:59 MST 2008


On Mar 13, 2008, at 2:41 PM, Keith Watson wrote:

> comments in the XSL file get
> turned in to blank lines in the html file which are then rendered as  
> a blank
> line

Here is the generated output of simple.xsl for Genesis 1:1. Notice  
that the output has new lines only in the embedded style sheet.

<html dir='ltr'><head><base href='file:/Users/dm/Library/Application 
%20Support/Sword/modules/texts/ztext/esv/'></base><style type='text/ 
css'>
           BODY { font-family: 'Bradley Hand ITC TT', Serif; font- 
size:   25pt; font-weight: normal; font-style:  normal; }
           A { text-decoration: none; }
           A.strongs { color: black; text-decoration: none; }
           SUB.strongs { font-size: 75%; color: red; }
           SUB.morph { font-size: 75%; color: blue; }
           SUB.lemma { font-size: 75%; color: red; }
           SUP.verse { font-size: 75%; color: gray; }
           SUP.note { font-size: 75%; color: green; }
           FONT.jesus { color: red; }
           FONT.speech { color: blue; }
           FONT.strike { text-decoration: line-through; }
           FONT.small-caps { font-variant: small-caps; }
           FONT.inscription { font-weight: bold; font-variant: small- 
caps; }
           FONT.divineName { font-variant: small-caps; }
           FONT.normal { font-variant: normal; }
           FONT.caps { text-transform: uppercase; }
           H1.level { text-align: center; font-size: 115%; color:  
#000000; }
           H2.level { text-align: center; font-size: 110%; color:  
#000000; }
           H3.level { text-align: center; font-size: 100%; }
           H4.level { text-align: center; font-size: 90%; }
           H5.level { text-align: center; font-size: 85%; }
           H6.level { text-align: center; font-size: 80%; }
           H3.heading { font-size: 110%; color: #666699; font-weight:  
bold; }
           H2.heading { font-size: 115%; color: #669966; font-weight:  
bold; }
           div.margin { font-size:90%; }
           TD.notes { width:20%; background:#f4f4e8; }
           TD.text { width:80%; }
         </style><link rel='stylesheet' type='text/css' href='file:/ 
Users/dm/Documents/eclipse/JSword/bibledesktop/src/main/resources/xsl/ 
cswing/overridetest.css' title='styling'></link></head><body><table  
cols='2' cellpadding='5' cellspacing='5'><tr><td valign='top'  
class='notes'><p>Ê</p><a href='#Gen.1.1'>Genesis 1:1</a><div  
class='margin'><strong>a</strong><a name='note-N65550'> </a><a  
href='bible://Job.38.4-Job.38.7'>Job 38:4-7</a>; <a href='bible://Ps. 
33.6'>Ps. 33:6</a>; <a href='bible://Ps.136.5'>136:5</a>; <a  
href='bible://Isa.42.5'>Isa. 42:5</a>; <a href='bible://Isa. 
45.18'>45:18</a>; <a href='bible://John.1.1-John.1.3'>John 1:1-3</a>;  
<a href='bible://Acts.14.15'>Acts 14:15</a>; <a href='bible://Acts. 
17.24'>17:24</a>; <a href='bible://Col.1.16-Col.1.17'>Col. 1:16, 17</ 
a>; <a href='bible://Heb.1.10'>Heb. 1:10</a>; <a href='bible://Heb. 
11.3'>11:3</a>; <a href='bible://Rev.4.11'>Rev. 4:11</a></div><div>Ê</ 
div></td><td valign='top' class='text'><h2 class='heading'>Genesis  
1:1</h2><h3 class='heading'>The Beginning of Creation</h3><a name='Gen. 
1.1'><sup class='verse'><font>1</font></sup></a>In the <sup  
class='note'><a href='#note-N65550'>a</a></sup>beginning, God created  
the heavens and the earth. </td></tr></table></body></html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/jsword-devel/attachments/20080313/70c91b1d/attachment.html 


More information about the jsword-devel mailing list