Project

General

Profile

« Previous | Next » 

Revision 406

Added by berkley over 24 years ago

removed extraneous dash (-) from output loop that was entered unintentionallyi

View differences:

lib/marine/marine.xsl
199 199
                  </input>
200 200
                </td>
201 201
                <td>Last Name:</td>
202
                <td> <!-- <input type="text" name="surname" /> -->
202
                <td>
203 203
                  <input type="text" name="surName" size="15">
204 204
             	  <xsl:attribute name="value">
205 205
                  <xsl:value-of select="resultset/query/surName" />
......
246 246
      <input type="hidden" name="action" value="query" />   
247 247
    	<input type="hidden" name="qformat" value="html" />
248 248
    	<input type="hidden" name="operator" value="UNION" />
249
      <!--note that the value of the returnfield can be in either
250
         -case but in the xsl:value-of statement the select attribute
251
         -must always be in lower case
252
       -->
253 249
      <input type="hidden" name="returnfield" value="resource/dataset/originator/individualName/surName" />
254 250
      <input type="hidden" name="returnfield" value="resource/dataset/originator/individualName/givenName" />
255 251
      <input type="hidden" name="returnfield" value="resource/dataset/originator/organizationName" />
......
260 256
        </form>
261 257
             
262 258
  <a name="browse" />
263
	<font size="3"><xsl:number value="count(resultset/document)" /> documents 
259
	<font size="2"><xsl:number value="count(resultset/document)" /> documents 
264 260
  found.</font>
265 261
	<!-- This tests to see if there are returned documents,
266
	     if there are not then don't show the query results
267
	-->
262
	     if there are not then don't show the query results -->
268 263
	<xsl:if test="count(resultset/document) &gt; 0">
269 264
	
270 265
	<center>
......
285 280
        </tr>
286 281

  
287 282
	
288
	
283
	      <font size="2">
289 284
        <xsl:for-each select="resultset/document">
290 285
          <xsl:sort select="doctitle"/>
291 286
          <tr valign="top">
......
311 306
                </xsl:attribute>
312 307
              </input>
313 308
          </td>
314
          <!--note the lower case select attr. -->
315 309
          <td><xsl:value-of select="./doctitle"/>
316 310
              
317 311
              <xsl:text>&nbsp;</xsl:text>
......
334 328
          <td>
335 329
              <xsl:value-of select="./updatedate" /> 
336 330
              <xsl:text>&nbsp;</xsl:text>
337
          </td> -
331
          </td>
338 332
          </tr>
339 333
        </xsl:for-each>
334
        </font>
340 335
        </table>
341 336
        </form>
342 337

  

Also available in: Unified diff