Project

General

Profile

« Previous | Next » 

Revision 1696

Added by Jing Tao almost 21 years ago

Make table cellspacing=0 and fixed some bugs.

View differences:

eml-2.0.0.xsl
68 68
              href="{$stylePath}/{$qformat}.css" />
69 69
      </head>
70 70
      <body>
71
          <table width="100%">
71
          <table xsl:use-attribute-sets="cellspacing" width="100%" >
72 72
          <tr>
73 73
            <td rowspan="2"><img src="@web-base-url@/images/KNBLogo.gif"/></td>
74 74
            <td colspan="7"><div class="title">Biocomplexity Data Search</div>
......
163 163
                   </xsl:for-each>
164 164
                 </xsl:if>
165 165
              </xsl:otherwise>
166
       </xsl:choose>
166
     </xsl:choose>
167
     <!-- xml format-->
168
     <xsl:if test="$displaymodule='dataset'">
169
        <xsl:call-template name="xml"/>              
170
     </xsl:if>
167 171
   </xsl:template>
168 172
   
169 173
   <!--********************************************************
......
171 175
       ********************************************************-->
172 176
   
173 177
   <xsl:template name="emldataset">
174
      <table class="tabledefault" width="100%">
178
      <table xsl:use-attribute-sets="cellspacing"  class="tabledefault" width="100%">
175 179
          <xsl:if test="$displaymodule='dataset'">
176 180
             <xsl:call-template name="datasetpart"/>  
177 181
          </xsl:if>
......
741 745
       ********************************************************-->
742 746
   <xsl:template name="emlcitation">
743 747
       
744
        <table class="tabledefault" width="100%">
748
        <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
745 749
        <tr>
746 750
          <td width="100%" colspan="2">
747 751
             <right>
......
771 775
       ********************************************************-->
772 776
   
773 777
   <xsl:template name="emlsoftware">
774
     <table class="tabledefault" width="100%">
778
     <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
775 779
        <tr>
776 780
          <td width="100%" colspan="2">
777 781
             <right>
......
800 804
       ********************************************************-->
801 805
   
802 806
   <xsl:template name="emlprotocol">
803
      <table class="tabledefault" width="100%">
807
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
804 808
        <tr>
805 809
          <td width="100%" colspan="2">
806 810
             <right>
......
828 832
       ********************************************************-->
829 833
   <xsl:template name="additionalmetadataURL">
830 834
     <xsl:param name="index"/>
831
     <table class="default" width="100%">
835
     <table xsl:use-attribute-sets="cellspacing"  class="default" width="100%">
832 836
       <tr><td width="100%" class="{$subHeaderStyle}">
833 837
              <a><xsl:attribute name="href"><xsl:value-of select="$tripleURI"/><xsl:value-of select="$docid"/>&amp;displaymodule=additionalmetadata&amp;additionalmetadataindex=<xsl:value-of select="$index"/></xsl:attribute>
834 838
              <b>Additional Metadata</b></a>
......
836 840
       </tr>
837 841
     </table>
838 842
   </xsl:template>
839
    
843
     <!--********************************************************
844
                   download xml part
845
       ********************************************************-->
846
   <xsl:template name="xml">
847
     <xsl:param name="index"/>
848
     <table xsl:use-attribute-sets="cellspacing"  class="default" width="100%">
849
       <tr><td width="100%" class="{$subHeaderStyle}">
850
              <a><xsl:attribute name="href"><xsl:value-of select="$xmlURI"/><xsl:value-of select="$docid"/></xsl:attribute>
851
              <b>Original XML File</b></a>
852
           </td>
853
       </tr>
854
     </table>
855
   </xsl:template>
840 856
</xsl:stylesheet>

Also available in: Unified diff