Ignore:
Timestamp:
06/05/08 11:03:45 (4 years ago)
Author:
anp
Message:

genOd : Ajout de sm:callModel/sm:lookForAscendants

File:
1 edited

Legend:

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

    r10789 r11144  
    271271                <xsl:value-of select="concat('@', getIdFromPath(ancestor-or-self::*[@sc:refUri][1]/@sc:refUri), '{getAxisSuffix(@axis)}')"/> 
    272272        </xsl0:template> 
    273         <xsl0:template match="sm:callModel" mode="mContent"> 
    274                 <xsl:value-of disable-output-escaping="yes"> 
    275                         <xsl0:attribute name="select"> 
    276                                 <xsl0:choose> 
    277                                         <xsl0:when test="sm:root">resultatAgent(concat('/@', getIdFromPath(concat('src:', java:hGetUri(srcFileAgent('@@')))), '<xsl0:value-of select="getAxisSuffix(@axis)"/>/getContent'))</xsl0:when> 
    278                                         <xsl0:when test="sm:current">resultatAgent(concat('/@', switchAxis(codeAgent('//'), '<xsl0:value-of select="@axis"/>'), '/getContent'))</xsl0:when> 
    279                                         <xsl0:when test="sm:agentPath">pathAgent(agent('<xsl0:value-of select="@path"/>', $vDialog))</xsl0:when> 
    280                                 </xsl0:choose> 
    281                         </xsl0:attribute> 
    282                 </xsl:value-of> 
    283         </xsl0:template> 
    284273         
    285274        <!-- cas particulier : notes --> 
Note: See TracChangeset for help on using the changeset viewer.