- Timestamp:
- 08/18/11 13:14:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/xsl/mdset_pazpar2view.xsl
r1479 r1482 21 21 <xsl:import href="util_xml_ay.xsl"/> 22 22 23 <xsl:output method=" html" />23 <xsl:output method="xml" /> 24 24 25 25 <xsl:param name="startItem">1</xsl:param> … … 89 89 90 90 <xsl:template name="continue-root" > 91 91 <div class="result"> 92 92 <xsl:for-each select="searchRetrieveResponse | show" > 93 93 94 <xsl:if test="not(contains($format, 'htmlsimple'))"> 94 95 <xsl:call-template name="header" /> … … 99 100 <xsl:choose> 100 101 <xsl:when test="contains($format,'htmltable')"> 101 <xsl: apply-templates select="records" mode="table" />102 <xsl:call-template name="record-table" /> 102 103 </xsl:when> 103 104 <xsl:when test="contains($format,'htmllist')"> … … 121 122 </xsl:choose> 122 123 </xsl:for-each> 123 124 </div> 124 125 </xsl:template> 125 126 … … 289 290 </xsl:template> 290 291 291 292 <xsl:template name="record-list" > 292 <xsl:template name="record-table"> 293 294 <table class="show"> 295 <thead><tr><th>pos</th> 296 <xsl:for-each select="$columns/*"> 297 <th title="{@key}" ><xsl:value-of select="@label"/></th> 298 </xsl:for-each> 299 </tr></thead> 300 <tbody> 301 <xsl:apply-templates select="$records" mode="tablerow" /> 302 </tbody> 303 </table> 304 305 </xsl:template> 306 307 <xsl:template name="record-list" > 293 308 294 309 <table class="show">
Note: See TracChangeset
for help on using the changeset viewer.