Ignore:
Timestamp:
10/09/06 19:22:13 (5 years ago)
Author:
sam
Message:

Correction Ticket #38 - Bugs dans la gestion de sm:title (pbs d'axis, de préfix & suffix) / integration de [6629]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2.x/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_xhtmlToOdGenTransf/bsDescContent.xml.xsl

    r6184 r6824  
    279279                <valeur code="callTitle_{generate-id()}"> 
    280280                        <xsl0:choose> 
    281                                 <xsl0:when test="count(*) &lt; 2"> 
     281                                <xsl0:when test="count(*) &lt; 2 and count(sm:modelTitle/@prefix)=0 and  count(sm:modelTitle/@suffix)=0"> 
    282282                                        <!-- modelTile seul --> 
    283                                         <source type="xpath-dynamique">resultatAgent(concat('@', getIdNode(.), '_meta<xsl0:value-of select="getAxisSuffix(@axis)"/>/<xsl0:value-of select="si(sm:modelTitle/@format, sm:modelTitle/@format, 'fullTitleText')"/>'))</source> 
     283                                        <source type="xpath-dynamique">resultatAgent(concat('@', switchAxis(codeAgent('//'), '<xsl0:value-of select="sm:modelTitle/@axis"/>'), '/<xsl0:value-of select="si(sm:modelTitle/@format, sm:modelTitle/@format, 'fullTitleText')"/>'))</source> 
    284284                                </xsl0:when> 
    285285                                <xsl0:otherwise> 
     
    294294                                        </source> 
    295295                                        <valeur code="title"> 
    296                                                 <source type="xpath-dynamique">resultatAgent(concat('@', getIdNode(.), '_meta<xsl0:value-of select="getAxisSuffix(@axis)"/>/<xsl0:value-of select="si(sm:modelTitle/@format, sm:modelTitle/@format, 'fullTitleText')"/>'))</source> 
     296                                                <source type="xpath-dynamique">resultatAgent(concat('@', switchAxis(codeAgent('//'), '<xsl0:value-of select="sm:modelTitle/@axis"/>'), '/<xsl0:value-of select="si(sm:modelTitle/@format, sm:modelTitle/@format, 'fullTitleText')"/>'))</source> 
    297297                                                <resultat cache="*"/> 
    298298                                        </valeur> 
Note: See TracChangeset for help on using the changeset viewer.