Ignore:
Timestamp:
06/10/08 17:51:26 (4 years ago)
Author:
sam
Message:

bug publi des noeuds texte ds les templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/_common/sm/webSiteTemplate/template.xsl.xsl

    r11116 r11179  
    8484                                <xsl0:with-param name="pOptions"><xsl0:value-of select="$vOptions"/></xsl0:with-param> 
    8585                        </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> 
    8888                        </xsl0:if> 
    8989                        <xsl0:choose> 
    90                                 <xsl0:when test="count(sm:label/*) = 0">&#160;</xsl0:when> 
    91                                 <xsl0:otherwise><span><xsl0:apply-templates select="sm:label/*"/></span></xsl0:otherwise> 
     90                                <xsl0:when test="count(sm:label/node()) = 0">&#160;</xsl0:when> 
     91                                <xsl0:otherwise><span><xsl0:apply-templates select="sm:label/node()"/></span></xsl0:otherwise> 
    9292                        </xsl0:choose></a> 
    9393        </xsl0:template> 
     
    111111                        <xsl0:call-template name="classAtt"/> 
    112112                        <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> 
    114114                        </xsl0:if> 
    115115                        <xsl0:choose> 
    116                                 <xsl0:when test="count(sm:label/*) = 0">&#160;</xsl0:when> 
    117                                 <xsl0:otherwise><span><xsl0:apply-templates select="sm:label/*"/></span></xsl0:otherwise> 
     116                                <xsl0:when test="count(sm:label/node()) = 0">&#160;</xsl0:when> 
     117                                <xsl0:otherwise><span><xsl0:apply-templates select="sm:label/node()"/></span></xsl0:otherwise> 
    118118                        </xsl0:choose></a> 
    119119        </xsl0:template> 
     
    145145                        <xsl0:if test="count(sm:altContent)!=0"> 
    146146                                <noembed> 
    147                                         <xsl0:apply-templates select="sm:altContent/*"/> 
     147                                        <xsl0:apply-templates select="sm:altContent/node()"/> 
    148148                                </noembed>       
    149149                        </xsl0:if> 
Note: See TracChangeset for help on using the changeset viewer.