Ignore:
Timestamp:
02/26/09 19:09:00 (3 years ago)
Author:
anp
Message:

odTemplate : ajout de @axis sur rootTitle + ajout sm:dynamicString dans la définition du titre de compositionOdtTransf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_odTemplateText/xWidgetsContent.xsl

    r11139 r12883  
    519519           ###  -->      
    520520        <xsl0:template match="sm:rootTitle"> 
    521                 <xsl0:variable name="vTitleType" select="si(@format and @format='shortTitleText', 'shortTitleText', 'fullTitleText')"/> 
    522                 <xsl0:value-of select="@prefix"/><xsl:value-of select="resultatAgent('//{$vTitleType}')" disable-output-escaping="yes"/><xsl0:value-of select="@suffix"/> 
     521           <xsl0:value-of select="@prefix"/> 
     522           <xsl0:choose> 
     523            <xsl0:when test="@type='shortTitle'"><xsl:value-of select="resultatAgent(concat('@', getIdFromPath(concat('src:', java:hGetUri(srcFileAgent('@@')))), '{getAxisSuffix(@axis)}/shortTitleText'))"/></xsl0:when> 
     524            <xsl0:otherwise><xsl:value-of select="resultatAgent(concat('@', getIdFromPath(concat('src:', java:hGetUri(srcFileAgent('@@')))), '{getAxisSuffix(@axis)}/fullTitleText'))"/></xsl0:otherwise> 
     525       </xsl0:choose> 
     526           <xsl0:value-of select="@suffix"/> 
    523527        </xsl0:template> 
    524528        <xsl0:template match="sm:callRootModel" name="sm:callRootModel"> 
Note: See TracChangeset for help on using the changeset viewer.