Ignore:
Timestamp:
10/01/10 14:59:39 (14 years ago)
Author:
vronk
Message:

started IE-browser fixes

Location:
MDService2/trunk/MDService2/src/xsl
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • MDService2/trunk/MDService2/src/xsl/cmd_commons.xsl

    r685 r742  
    155155       
    156156    <!-- Stop includes -->
     157
     158
     159<xsl:variable name="term_matrix" >
     160               
     161                <xsl:for-each select="//CMD_Element" >
     162                                        <xsl:variable name="comp_path" select="my:comppath(.)" >
     163                                                        <!--  <xsl:for-each select="ancestor::CMD_Component" >
     164                                                                <xsl:value-of select="@name" />.</xsl:for-each>-->
     165                                        </xsl:variable>
     166                        <Term  elem="{@name}" datcat="{@ConceptLink}" profile="{ancestor::profileDescription[1]/name}"
     167                                                        parent="{ancestor::CMD_Component[1]/@name}"  comppath="{$comp_path}" >
     168                                                                <xsl:copy-of select="." />
     169                        </Term>
     170                </xsl:for-each>
     171       
     172</xsl:variable>
    157173
    158174
  • MDService2/trunk/MDService2/src/xsl/complist2view.xsl

    r568 r742  
    5353                                </xsl:when>                             
    5454                        <xsl:when test="$format='complist2htmlselect'" >                                                     
    55                                         <select id="profile-select">           
     55                                        <select id="profile-select" class="cmds-ui-elem-stretch">               
    5656                                                        <xsl:apply-templates select="/*/*" mode="select"/>                                                     
    5757                                                </select>                                                               
  • MDService2/trunk/MDService2/src/xsl/dcif2view.xsl

    r568 r742  
    122122
    123123<xsl:template match="dcif:dataCategory" mode="list">
    124                 <li>           
     124                <li><div class="cmds-elem-plus">               
    125125                        <span><a href="{my:rewriteURL(@pid)}" >
    126126                                                <xsl:value-of select="@name" /></a></span>
     
    129129                                                        <xsl:value-of select="@type" />,<xsl:value-of select="@owner" />
    130130                                                </div>
     131                        </div>
    131132                </li>
    132133</xsl:template>
     
    156157                       
    157158                </xsl:variable>
    158                 <div class="elem {$has_text}" >
    159                 <span class="elem_name"><xsl:value-of select="name()" />
     159                <div class="cmds-elem-prop value-{$has_text}" >
     160                <span class="label"><xsl:value-of select="name()" />
    160161                <xsl:if test="@xml:lang" >(<xsl:value-of select="@xml:lang" />)</xsl:if>: </span>
    161                 <span class="elem_value"><xsl:value-of select="text()" /></span>
     162                <span class="value"><xsl:value-of select="text()" /></span>
    162163                        <xsl:apply-templates select="*" />                                     
    163164                </div> 
  • MDService2/trunk/MDService2/src/xsl/mdset2view.xsl

    r704 r742  
    166166                                </xsl:for-each>
    167167                  -->
    168                  
     168
    169169                        <xsl:for-each select="$columns/*">
    170170                        <!-- <td ><xsl:value-of select="$curr_cmd//*[name()=current()]" /></td> -->
    171                                  <xsl:variable name="curr_col_xpath" select="@xpath" />
    172                         <td >
     171                                 <xsl:variable name="curr_col_xpath" select="@xpath" />
     172                        <td>                   
    173173                                <xsl:for-each select="$curr_cmd">
    174                                         <xsl:value-of select="saxon:evaluate(concat('.//', $curr_col_xpath))" />
     174                                        <xsl:variable name="elems" select="saxon:evaluate(concat('.//', $curr_col_xpath))" />
     175                                        <xsl:choose>
     176                                                <xsl:when test="count($elems) &gt; 1" >
     177                                                        <ul>
     178                                                                <xsl:for-each select="$elems" >                                                 
     179                                                                        <li><xsl:value-of select="." /></li>
     180                                                                </xsl:for-each>
     181                                                        </ul>
     182                                                </xsl:when>
     183                                                <xsl:otherwise>
     184                                                        <xsl:value-of select="$elems" />
     185                                                </xsl:otherwise>                       
     186                                        </xsl:choose>
     187                                         
     188                               
     189                               
    175190                                </xsl:for-each>
    176191                        </td>
     
    180195
    181196
    182 
    183197</xsl:stylesheet>
  • MDService2/trunk/MDService2/src/xsl/params.xsl

    r685 r742  
    44       
    55       
    6         <xsl:param name="format"  select="'htmlpage'"/> <!-- table|list -->
     6        <xsl:param name="format"  select="'htmlpag'"/> <!-- table|list -->
    77        <xsl:param name="display_values_limit" select="10" />
    88        <xsl:param name="max_depth" select="0" />
Note: See TracChangeset for help on using the changeset viewer.