Changeset 742 for MDService2/trunk/MDService2/src/xsl
- Timestamp:
- 10/01/10 14:59:39 (14 years ago)
- Location:
- MDService2/trunk/MDService2/src/xsl
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/xsl/cmd_commons.xsl
r685 r742 155 155 156 156 <!-- 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> 157 173 158 174 -
MDService2/trunk/MDService2/src/xsl/complist2view.xsl
r568 r742 53 53 </xsl:when> 54 54 <xsl:when test="$format='complist2htmlselect'" > 55 <select id="profile-select" >55 <select id="profile-select" class="cmds-ui-elem-stretch"> 56 56 <xsl:apply-templates select="/*/*" mode="select"/> 57 57 </select> -
MDService2/trunk/MDService2/src/xsl/dcif2view.xsl
r568 r742 122 122 123 123 <xsl:template match="dcif:dataCategory" mode="list"> 124 <li> 124 <li><div class="cmds-elem-plus"> 125 125 <span><a href="{my:rewriteURL(@pid)}" > 126 126 <xsl:value-of select="@name" /></a></span> … … 129 129 <xsl:value-of select="@type" />,<xsl:value-of select="@owner" /> 130 130 </div> 131 </div> 131 132 </li> 132 133 </xsl:template> … … 156 157 157 158 </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()" /> 160 161 <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> 162 163 <xsl:apply-templates select="*" /> 163 164 </div> -
MDService2/trunk/MDService2/src/xsl/mdset2view.xsl
r704 r742 166 166 </xsl:for-each> 167 167 --> 168 168 169 169 <xsl:for-each select="$columns/*"> 170 170 <!-- <td ><xsl:value-of select="$curr_cmd//*[name()=current()]" /></td> --> 171 172 <td >171 <xsl:variable name="curr_col_xpath" select="@xpath" /> 172 <td> 173 173 <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) > 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 175 190 </xsl:for-each> 176 191 </td> … … 180 195 181 196 182 183 197 </xsl:stylesheet> -
MDService2/trunk/MDService2/src/xsl/params.xsl
r685 r742 4 4 5 5 6 <xsl:param name="format" select="'htmlpag e'"/> <!-- table|list -->6 <xsl:param name="format" select="'htmlpag'"/> <!-- table|list --> 7 7 <xsl:param name="display_values_limit" select="10" /> 8 8 <xsl:param name="max_depth" select="0" />
Note: See TracChangeset
for help on using the changeset viewer.