Changeset 1482
- Timestamp:
- 08/18/11 13:14:22 (13 years ago)
- Location:
- MDService2/trunk/MDService2/src/xsl
- Files:
-
- 2 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"> -
MDService2/trunk/MDService2/src/xsl/params.xsl
r1479 r1482 5 5 6 6 <!-- <xsl:param name="title" select="'Default Title'" /> --> 7 <xsl:param name="format" select="'html pagelist'"/> <!-- table|list -->7 <xsl:param name="format" select="'htmltable'"/> <!-- table|list --> 8 8 <xsl:param name="display_values_limit" select="10" /> 9 9 <xsl:param name="max_depth" select="0" />
Note: See TracChangeset
for help on using the changeset viewer.