Ignore:
Timestamp:
09/08/07 23:02:17 (5 years ago)
Author:
sys
Message:

bug attribut commonClass / sm:commonClass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_crossRefTableUiWidget/xhtmlContent.xsl.xsl

    r9613 r9634  
    128128                <xsl0:element name="{si(@tagName, @tagName, 'div')}"> 
    129129                        <xsl0:attribute name="id">categ{$vIdAgent}_{generate-id(.)}</xsl0:attribute> 
    130                         <xsl0:if test="@sm:commonClass"><xsl0:attribute name="class"><xsl0:value-of select="@sm:commonClass"/></xsl0:attribute></xsl0:if> 
     130                        <xsl0:if test="@commonClass"><xsl0:attribute name="class"><xsl0:value-of select="@commonClass"/></xsl0:attribute></xsl0:if> 
    131131                        <xsl0:apply-templates mode="contentTpl" /> 
    132132                </xsl0:element> 
     
    136136                        <xsl:when test="entry"> 
    137137                                <a href="#categ{{$vIdAgent}}_{{generate-id(.)}}"> 
    138                                         <xsl0:if test="@sm:commonClass"><xsl0:attribute name="class"><xsl0:value-of select="@sm:commonClass"/></xsl0:attribute></xsl0:if> 
     138                                        <xsl0:if test="@commonClass"><xsl0:attribute name="class"><xsl0:value-of select="@commonClass"/></xsl0:attribute></xsl0:if> 
    139139                                        <xsl0:apply-templates mode="contentTpl" /> 
    140140                                </a> 
     
    142142                        <xsl:otherwise> 
    143143                                <xsl0:element name="{@tagNameIfCategEmpty}"> 
    144                                         <xsl0:if test="@sm:commonClass"><xsl0:attribute name="class"><xsl0:value-of select="@sm:commonClass"/></xsl0:attribute></xsl0:if> 
     144                                        <xsl0:if test="@commonClass"><xsl0:attribute name="class"><xsl0:value-of select="@commonClass"/></xsl0:attribute></xsl0:if> 
    145145                                        <xsl0:apply-templates mode="contentTpl" />                                       
    146146                                </xsl0:element> 
     
    150150        <xsl0:template match="sm:WCategLink" mode="contentTpl"> 
    151151                <a href="#categ{{$vIdAgent}}_{{generate-id(.)}}"> 
    152                         <xsl0:if test="@sm:commonClass"><xsl0:attribute name="class"><xsl0:value-of select="@sm:commonClass"/></xsl0:attribute></xsl0:if> 
     152                        <xsl0:if test="@commonClass"><xsl0:attribute name="class"><xsl0:value-of select="@commonClass"/></xsl0:attribute></xsl0:if> 
    153153                        <xsl0:apply-templates mode="contentTpl" /> 
    154154                </a> 
Note: See TracChangeset for help on using the changeset viewer.