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

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

File:
1 edited

Legend:

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

    r6634 r6823  
    282282                <valeur code="callTitle_{generate-id()}"> 
    283283                        <xsl0:choose> 
    284                                 <xsl0:when test="count(*) &lt; 2"> 
     284                                <xsl0:when test="count(*) &lt; 2 and count(sm:modelTitle/@prefix)=0 and  count(sm:modelTitle/@suffix)=0"> 
    285285                                        <!-- modelTile seul --> 
    286                                         <source type="xpath-dynamique">resultatAgent(concat('@', switchAxis(codeAgent('//'), '<xsl0:value-of select="@axis"/>'), '/<xsl0:value-of select="si(sm:modelTitle/@format, sm:modelTitle/@format, 'fullTitleText')"/>'))</source> 
     286                                        <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> 
    287287                                </xsl0:when> 
    288288                                <xsl0:otherwise> 
     
    297297                                        </source> 
    298298                                        <valeur code="title"> 
    299                                                 <source type="xpath-dynamique">resultatAgent(concat('@', switchAxis(codeAgent('//'), '<xsl0:value-of select="@axis"/>'), '/<xsl0:value-of select="si(sm:modelTitle/@format, sm:modelTitle/@format, 'fullTitleText')"/>'))</source> 
     299                                                <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> 
    300300                                                <resultat cache="*"/> 
    301301                                        </valeur> 
Note: See TracChangeset for help on using the changeset viewer.