<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="samples" page="bible" subpage=""/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: The Bible</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: The Bible"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>The Bible</h1>
      <p>The stylesheet <b>bible.xsl</b> takes as input an XML file containing the text of the Old
or New Testament. These files are not included in the Saxon distribution for space
reasons, but can be downloaded from
 <a href="http://www.ibiblio.org/bosak/xml/eg/rel200.zip" class="bodylink">http://www.ibiblio.org/bosak/xml/eg/rel200.zip</a>
or from various mirror sites. They were prepared by Jon Bosak.</p>
      <p>The output of the stylesheet is a set of 292 HTML files in a single
directory, which together provide a frames-oriented rendition of the text. 
The application also works with the Old Testament text, but not with the other religious
texts included in Jon Bosak's distribution.</p>
      <p>To run the stylesheet on the Java platform first create an output
directory (say htmldir), then execute the following from the command line :</p>
      <p class="command">
java  net.sf.saxon.Transform  data\nt.xml  styles\bible.xsl  dir=htmldir
</p>
      <p>The equivalent on .NET is:</p>
      <p class="command">
Transform  data\nt.xml  styles\bible.xsl  dir=htmldir
</p>
      <p>The final parameter sets the value of the XSLT parameter "dir" to
the value "htmldir", which is referenced within the stylesheet to select a
directory for output files.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="jdom.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>