Revision 85
Added by Matt Jones over 24 years ago
resultset.xsl | ||
---|---|---|
29 | 29 |
</h3> |
30 | 30 |
</center> |
31 | 31 |
|
32 |
<form action="/servlets/MetaCatServlet" method="POST"> |
|
33 |
<input type="hidden" name="action" value="getdocument"/> |
|
34 |
|
|
35 |
<xsl:text>Output Format: </xsl:text> |
|
36 |
<select name="qformat"> |
|
37 |
<option value="html">HTML</option> |
|
38 |
<option value="xml">XML</option> |
|
39 |
</select> |
|
40 |
|
|
32 | 41 |
<table width="100%"> |
33 | 42 |
<tr class="rowodd"> |
43 |
<th> </th> |
|
34 | 44 |
<th><xsl:text>Document ID</xsl:text></th> |
35 | 45 |
<th><xsl:text>Title</xsl:text></th> |
36 | 46 |
</tr> |
... | ... | |
44 | 54 |
</xsl:choose> |
45 | 55 |
</xsl:attribute> |
46 | 56 |
|
47 |
<td><a> |
|
57 |
<td> |
|
58 |
<input type="radio" name="docid"> |
|
59 |
<xsl:attribute name="value"> |
|
60 |
<xsl:value-of select="."/> |
|
61 |
</xsl:attribute> |
|
62 |
</input> |
|
63 |
<input type="submit" value="Display"/> |
|
64 |
<!-- |
|
65 |
<a> |
|
48 | 66 |
<xsl:attribute name="href"> |
49 | 67 |
/servlets/MetaCatServlet?action=getdocument&docid=<xsl:value-of select="."/> |
50 | 68 |
</xsl:attribute> |
51 | 69 |
<xsl:text>Document </xsl:text><xsl:value-of select="."/> |
52 | 70 |
</a> |
71 |
--> |
|
53 | 72 |
</td> |
73 |
<td> |
|
74 |
<xsl:text>Document </xsl:text><xsl:value-of select="."/> |
|
75 |
</td> |
|
54 | 76 |
<td>Fake title</td> |
55 | 77 |
</tr> |
56 | 78 |
</xsl:for-each> |
57 | 79 |
</table> |
80 |
</form> |
|
58 | 81 |
|
59 | 82 |
</body> |
60 | 83 |
</html> |
Also available in: Unified diff
creating automatic transformation for XML docs retreived from catalog