Changeset 11179 for trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/_common/sm/webSiteTemplate/template.xsl.xsl
- Timestamp:
- 06/10/08 17:51:26 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/_common/sm/webSiteTemplate/template.xsl.xsl
r11116 r11179 84 84 <xsl0:with-param name="pOptions"><xsl0:value-of select="$vOptions"/></xsl0:with-param> 85 85 </xsl0:call-template> 86 <xsl0:if test="sm:labelTitle /*">87 <addAttribute name="title" filter="textOnly"><xsl0:apply-templates select="sm:labelTitle/ *"/></addAttribute>86 <xsl0:if test="sm:labelTitle"> 87 <addAttribute name="title" filter="textOnly"><xsl0:apply-templates select="sm:labelTitle/node()"/></addAttribute> 88 88 </xsl0:if> 89 89 <xsl0:choose> 90 <xsl0:when test="count(sm:label/ *) = 0"> </xsl0:when>91 <xsl0:otherwise><span><xsl0:apply-templates select="sm:label/ *"/></span></xsl0:otherwise>90 <xsl0:when test="count(sm:label/node()) = 0"> </xsl0:when> 91 <xsl0:otherwise><span><xsl0:apply-templates select="sm:label/node()"/></span></xsl0:otherwise> 92 92 </xsl0:choose></a> 93 93 </xsl0:template> … … 111 111 <xsl0:call-template name="classAtt"/> 112 112 <xsl0:if test="count(sm:labelTitle) != 0"> 113 <xsl0:attribute name="title"><xsl0:apply-templates select="sm:labelTitle/ *"/></xsl0:attribute>113 <xsl0:attribute name="title"><xsl0:apply-templates select="sm:labelTitle/node()"/></xsl0:attribute> 114 114 </xsl0:if> 115 115 <xsl0:choose> 116 <xsl0:when test="count(sm:label/ *) = 0"> </xsl0:when>117 <xsl0:otherwise><span><xsl0:apply-templates select="sm:label/ *"/></span></xsl0:otherwise>116 <xsl0:when test="count(sm:label/node()) = 0"> </xsl0:when> 117 <xsl0:otherwise><span><xsl0:apply-templates select="sm:label/node()"/></span></xsl0:otherwise> 118 118 </xsl0:choose></a> 119 119 </xsl0:template> … … 145 145 <xsl0:if test="count(sm:altContent)!=0"> 146 146 <noembed> 147 <xsl0:apply-templates select="sm:altContent/ *"/>147 <xsl0:apply-templates select="sm:altContent/node()"/> 148 148 </noembed> 149 149 </xsl0:if>
Note: See TracChangeset
for help on using the changeset viewer.