Revision 404
Added by berkley over 24 years ago
lib/marine/marine.xsl | ||
---|---|---|
192 | 192 |
<tr> |
193 | 193 |
<td>First Name:</td> |
194 | 194 |
<td> |
195 |
<input type="text" name="given_name" size="15">
|
|
195 |
<input type="text" name="givenName" size="15">
|
|
196 | 196 |
<xsl:attribute name="value"> |
197 |
<xsl:value-of select="resultset/query/given_name" />
|
|
197 |
<xsl:value-of select="resultset/query/givenName" />
|
|
198 | 198 |
</xsl:attribute> |
199 | 199 |
</input> |
200 | 200 |
</td> |
201 | 201 |
<td>Last Name:</td> |
202 | 202 |
<td> <!-- <input type="text" name="surname" /> --> |
203 |
<input type="text" name="surname" size="15">
|
|
203 |
<input type="text" name="surName" size="15">
|
|
204 | 204 |
<xsl:attribute name="value"> |
205 |
<xsl:value-of select="resultset/query/surname" />
|
|
205 |
<xsl:value-of select="resultset/query/surName" />
|
|
206 | 206 |
</xsl:attribute> |
207 | 207 |
</input> |
208 | 208 |
</td> |
... | ... | |
250 | 250 |
-case but in the xsl:value-of statement the select attribute |
251 | 251 |
-must always be in lower case |
252 | 252 |
--> |
253 |
<input type="hidden" name="returnfield" value="surname" />
|
|
254 |
<input type="hidden" name="returnfield" value="givenname" />
|
|
255 |
<input type="hidden" name="returnfield" value="organizationname" />
|
|
253 |
<input type="hidden" name="returnfield" value="resource/dataset/originator/individualName/surName" />
|
|
254 |
<input type="hidden" name="returnfield" value="resource/dataset/originator/individualName/givenName" />
|
|
255 |
<input type="hidden" name="returnfield" value="resource/dataset/originator/organizationName" />
|
|
256 | 256 |
|
257 | 257 |
<input type="submit" value="Query" /> |
258 | 258 |
<input type="reset" value="Clear Form" /> |
... | ... | |
278 | 278 |
<tr class="rowodd"> |
279 | 279 |
<th> </th> |
280 | 280 |
<th><xsl:text>Title</xsl:text></th> |
281 |
<th><xsl:text>Owner</xsl:text></th>
|
|
281 |
<th><xsl:text>Contacts</xsl:text></th>
|
|
282 | 282 |
<th><xsl:text>Organization</xsl:text></th> |
283 | 283 |
<th><xsl:text>Creation Date</xsl:text></th> |
284 | 284 |
<th><xsl:text>Last Updated</xsl:text></th> |
... | ... | |
317 | 317 |
<xsl:text> </xsl:text> |
318 | 318 |
</td> |
319 | 319 |
<td> |
320 |
<xsl:value-of select="./givenname" />
|
|
320 |
<xsl:value-of select="./givenName" />
|
|
321 | 321 |
<xsl:text> </xsl:text> |
322 | 322 |
|
323 |
<xsl:value-of select="./surname" />
|
|
323 |
<xsl:value-of select="./surName" />
|
|
324 | 324 |
<xsl:text> </xsl:text> |
325 | 325 |
</td> |
326 |
<td><xsl:value-of select="./organizationname" />
|
|
326 |
<td><xsl:value-of select="./organizationName" />
|
|
327 | 327 |
<xsl:text> </xsl:text> |
328 | 328 |
</td> |
329 | 329 |
|
Also available in: Unified diff
changed the field names to be case-sensitive