Scheme 2. Output template definitions for ChemDig. (a) Header, (b) Body, (c) Footer
(a) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="">
    <title>ChemDig Search results for '$(WORDS)'</title>
    <link rel="stylesheet" type="text/css" href="" />
    <h2>ChemDig Search results for '$(LOGICAL_WORDS)'</h2>
    <hr noshade="noshade" size="1" />
    <b>Documents $(FIRSTDISPLAYED) - $(LASTDISPLAYED) of $(MATCHES) matches.
    More <img src="/htdig/new/star.gif" alt="*" />'s indicate a better
    <hr noshade="noshade" size="1" />
    <!-- LIST -->

(b) <dl>
<!-- The below is to make Sherlock Work-->
<!-- ITEM -->
<strong><a href="$(URL)">$(TITLE)</a></strong>$(STARSLEFT)<!-- SCORE -->$(PERCENT)<!-- /SCORE --> 
<i><a href="$(URL)">$(URL)</a></i>
<font size=-1>$(MODIFIED), $(SIZE) bytes</font>
</dd><!-- /ITEM --></dl>

(c) <!-- /LIST -->
<h1>Repeat Search with other Databases</h1>
<table border="1">
  <a href="$(WORDS)">
<b>Brookhaven Protein Databank</b></a></td>
<a href="$(WORDS)&Units=SI"><b>NIST Chemistry WebBook</b></a></td>
<td >
    <form  action="" METHOD="post" TARGET="chemfinder">
      <input type="hidden" name="name" value="$(WORDS)">
      <input type="submit" value="ChemFinder">