Project

General

Profile

« Previous | Next » 

Revision 1686

Added by Jing Tao about 21 years ago

Revise some templates.

View differences:

eml-dataset-2.0.0.xsl
83 83
  
84 84
  <xsl:template name="datasetpurpose">
85 85
    <xsl:for-each select="purpose">
86
      <tr><td class="{$subHeaderStyle}" colspan="2">
87
           <xsl:text>Purpose:</xsl:text>
88
        </td>
89
       </tr>
86 90
       <tr>
87
            <td width="{$firstColWidth}" align="right" class="{$firstColStyle}">
88
            Purpose:
91
            <td width="{$firstColWidth}"  class="{$firstColStyle}">
92
            &#160;
89 93
            </td>
90 94
            <td width="{$secondColWidth}" class="{$secondColStyle}" >
91
             &#160;
95
              <xsl:call-template name="text">
96
                <xsl:with-param name="textfirstColStyle" select="$firstColStyle"/>
97
              </xsl:call-template>
92 98
            </td>
93 99
       </tr>
94
       <tr>
95
        <td colspan="2" width="100%">
96
        <xsl:call-template name="text">
97
          <xsl:with-param name="textfirstColStyle" select="$firstColStyle"/>
98
          <xsl:with-param name="textsubHeaderStyle" select="$subHeaderStyle"/>
99
        </xsl:call-template>
100
        </td>
101
      </tr>
102
    </xsl:for-each>
100
     </xsl:for-each>
103 101
  </xsl:template>
104 102
  
105 103
  <xsl:template name="datasetmaintenance">
......
109 107
     </td></tr>
110 108
     <xsl:call-template name="mantenancedescription"/>
111 109
      <tr>
112
          <td width="{$firstColWidth}" align="right" class="{$firstColStyle}">
110
          <td width="{$firstColWidth}"  class="{$firstColStyle}">
113 111
          Frequency:
114 112
          </td>
115 113
          <td width="{$secondColWidth}" class="{$secondColStyle}" >
116 114
           <xsl:value-of select="maintenanceUpdateFrequency"/>
117 115
          </td>
118 116
     </tr>
119
     <xsl:call-template name="changehistory"/>
117
     <xsl:call-template name="datasetchangehistory"/>
120 118
   </xsl:for-each>
121 119
  </xsl:template>
122 120
  
123
  <xsl:template name="maintenancedescription">
121
  <xsl:template name="mantenancedescription">
124 122
   <xsl:for-each select="description">
125 123
     <tr>
126
          <td width="{$firstColWidth}" align="right" class="{$firstColStyle}">
124
          <td width="{$firstColWidth}"  class="{$firstColStyle}">
127 125
          Description:
128 126
          </td>
129 127
          <td width="{$secondColWidth}" class="{$secondColStyle}" >
130
           &#160;
128
            <xsl:call-template name="text">
129
               <xsl:with-param name="textfirstColStyle" select="$firstColStyle"/>
130
             </xsl:call-template>
131 131
          </td>
132 132
     </tr>
133
     <tr>
134
        <td colspan="2" width="100%">
135
        <xsl:call-template name="text">
136
          <xsl:with-param name="textfirstColStyle" select="$firstColStyle"/>
137
          <xsl:with-param name="textsubHeaderStyle" select="$subHeaderStyle"/>
138
        </xsl:call-template>
139
        </td>
140
      </tr>
141 133
    </xsl:for-each>
142 134
  </xsl:template>
143 135
  
144 136
   <xsl:template name="datasetchangehistory">
145 137
   <xsl:if test="changeHistory">
146 138
     <tr>
147
          <td width="{$firstColWidth}" align="right" class="{$firstColStyle}">
139
          <td width="{$firstColWidth}" class="{$firstColStyle}">
148 140
          History:
149 141
          </td>
150 142
          <td width="{$secondColWidth}" class="{$secondColStyle}" >
......
225 217
   
226 218
   <xsl:template name="datasetproject">
227 219
    <xsl:for-each select="project">
220
     <tr><td class="{$subHeaderStyle}" colspan="2">
221
        <xsl:text>Project Info:</xsl:text>
222
     </td></tr>
228 223
      <tr>
229 224
        <td colspan="2" width="100%">
230 225
        <xsl:call-template name="project">

Also available in: Unified diff