Project

General

Profile

« Previous | Next » 

Revision 1715

Added by Jing Tao over 21 years ago

Made some minal changes.

View differences:

lib/style/eml2/eml-project-2.0.0.xsl
105 105
     <tr><td width="{$firstColWidth}" class="{$projectfirstColStyle}">
106 106
          Personnel:
107 107
          </td>
108
          <td width="{$secondColWidth}" class="{$secondColStyle}" >
109
              &#160;
110
          </td>
108
          <td width="{$secondColWidth}">
109
             <table xsl:use-attribute-sets="cellspacing" width="100%">
110
                 <xsl:for-each select="personnel">
111
                       <tr><td colspan="2">
112
                              <xsl:call-template name="party">
113
                                 <xsl:with-param name="partyfirstColStyle" select="$projectfirstColStyle"/>
114
                              </xsl:call-template>
115
                       </td></tr>
116
                       <xsl:for-each select="role">
117
                          <tr><td width="{$firstColWidth}" class="{$projectfirstColStyle}">
118
                                 Role:
119
                               </td>
120
                               <td width="{$secondColWidth}">
121
                                 <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
122
                                     <tr>
123
                                         <td width="100%" class="{$secondColStyle}">
124
                                            <xsl:value-of select="."/>
125
                                          </td>
126
                                      </tr>
127
                                  </table>
128
                               </td>
129
                          </tr>
130
                      </xsl:for-each>
131
                </xsl:for-each>
132
             </table>
133
         </td>
111 134
     </tr>
112
     <xsl:for-each select="personnel">
113
       <tr><td colspan="2">
114
         <xsl:call-template name="party">
115
              <xsl:with-param name="partyfirstColStyle" select="$projectfirstColStyle"/>
116
         </xsl:call-template>
117
       </td></tr>
118
       <xsl:for-each select="role">
119
          <tr><td width="{$firstColWidth}" class="{$projectfirstColStyle}">
120
              Role:
121
              </td>
122
              <td width="{$secondColWidth}" class="{$secondColStyle}" >
123
                <xsl:value-of select="."/>
124
             </td>
125
          </tr>
126
       </xsl:for-each>
127
     </xsl:for-each>
128 135
  </xsl:template>
129 136
  
130 137
  
lib/style/eml2/eml-resource-2.0.0.xsl
185 185
      <xsl:if test="normalize-space(.)!=''">
186 186
      <tr><td width="{$firstColWidth}" class="{$resfirstColStyle}">
187 187
        Title:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
188
        <xsl:value-of select="."/></td></tr>
188
        <b><xsl:value-of select="."/></b></td></tr>
189 189
      </xsl:if>
190 190
  </xsl:template>
191 191
  
lib/style/eml2/eml-party-2.0.0.xsl
153 153
  <xsl:template match="phone" mode="party">
154 154
      <xsl:param name="partyfirstColStyle"/>
155 155
      <tr><td width="{$firstColWidth}" class="{$partyfirstColStyle}" >
156
        Phone:</td><td width="{$secondColWidth}"  class="{$secondColStyle}">
157
       <xsl:value-of select="."/>
158
       <xsl:if test="normalize-space(./@phonetype)!=''">
159
            <xsl:text> (</xsl:text><xsl:value-of select="./@phonetype"/><xsl:text>)</xsl:text>
160
       </xsl:if></td></tr>
156
             Phone:
157
          </td>
158
          <td width="{$secondColWidth}">
159
            <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
160
              <tr><td width="100%" class="{$secondColStyle}">
161
                     <xsl:value-of select="."/>
162
                     <xsl:if test="normalize-space(./@phonetype)!=''">
163
                       <xsl:text> (</xsl:text><xsl:value-of select="./@phonetype"/><xsl:text>)</xsl:text>
164
                     </xsl:if>
165
                   </td>
166
               </tr>
167
             </table>
168
          </td>
169
      </tr>
161 170
  </xsl:template>
162 171

  
163 172
 
164 173
  <xsl:template match="electronicMailAddress" mode="party">
165 174
      <xsl:param name="partyfirstColStyle"/>
166 175
      <xsl:if test="normalize-space(.)!=''">
167
      <tr><td width="{$firstColWidth}" class="{$partyfirstColStyle}" >
168
        Email Address:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
169
        <a><xsl:attribute name="href">mailto:<xsl:value-of select="."/></xsl:attribute><xsl:value-of select="./entityName"/>
170
        <xsl:value-of select="."/></a></td></tr>
176
       <tr><td width="{$firstColWidth}" class="{$partyfirstColStyle}" >
177
            Email Address:
178
          </td>
179
          <td width="{$secondColWidth}">
180
            <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
181
              <tr><td width="100%" class="{$secondColStyle}">
182
                    <a><xsl:attribute name="href">mailto:<xsl:value-of select="."/></xsl:attribute><xsl:value-of select="./entityName"/>
183
                    <xsl:value-of select="."/></a>
184
                   </td>
185
              </tr>
186
            </table>
187
          </td>
188
        </tr>
171 189
      </xsl:if>
172 190
  </xsl:template>
173 191

  
......
176 194
      <xsl:param name="partyfirstColStyle"/> 
177 195
      <xsl:if test="normalize-space(.)!=''">
178 196
      <tr><td width="{$firstColWidth}" class="{$partyfirstColStyle}" >
179
        Web Address:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
180
        <a><xsl:attribute name="href">http://<xsl:value-of select="."/></xsl:attribute><xsl:value-of select="./entityName"/>
181
        <xsl:value-of select="."/></a></td></tr>
182
        </xsl:if>
197
            Web Address:
198
          </td>
199
          <td width="{$secondColWidth}">
200
             <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
201
               <tr><td width="100%" class="{$secondColStyle}">
202
                     <a><xsl:attribute name="href">http://<xsl:value-of select="."/></xsl:attribute><xsl:value-of select="./entityName"/>
203
                     <xsl:value-of select="."/></a>
204
                    </td>
205
               </tr>
206
             </table>
207
           </td>
208
        </tr>
209
      </xsl:if>
183 210
  </xsl:template>
184 211

  
185 212

  
lib/style/eml2/eml-2.0.0.xsl
298 298
   <xsl:template name="datasetattributedomain">
299 299
      <tr><td>
300 300
         <right>
301
            <h3>Attributes Domain</h3>
301
            <h3>Attribute Domain</h3>
302 302
         </right>
303 303
      </td></tr>
304 304
      <tr>
......
314 314
   <xsl:template name="datasetattributemethod">
315 315
      <tr><td>
316 316
         <right>
317
            <h3>Attributes Method</h3>
317
            <h3>Attribute Method</h3>
318 318
         </right>
319 319
      </td></tr>
320 320
      <tr>
......
330 330
   <xsl:template name="datasetattributecoverage">
331 331
     <tr><td>
332 332
         <right>
333
            <h3>Attributes Coverage</h3>
333
            <h3>Attribute Coverage</h3>
334 334
         </right>
335 335
      </td></tr>
336 336
      <tr>

Also available in: Unified diff