Ignore:
Timestamp:
02/14/07 10:59:04 (5 years ago)
Author:
sam
Message:

Ajout sm:callModel/sm:lookForAscendants dans: sm:binaryXhtmlTransf, sm:webSiteToWebSiteGenTransf, sm:xhtmlToOdGenTransf

File:
1 edited

Legend:

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

    r7173 r8599  
    231231                <source type="xpath-dynamique">resultatAgent(concat('@', switchAxis(codeAgent('//'), '<xsl0:value-of select="@axis"/>'), '/xhtmlContent'))</source> 
    232232        </xsl0:template> 
     233        <xsl0:template match="sm:lookForAscendants" mode="agents"> 
     234                <source type="xpath-dynamique">resultatAgent(concat('@', switchAxis(codeAgent(lookForAncestorAgentByTypes($vDialog<xsl0:apply-templates mode="agents"/>)[<xsl0:value-of select="si(@direction='rootToCurrent', 'last()', '1')"/>]), '<xsl0:value-of select="@axis"/>'), '/xhtmlContent'))</source> 
     235        </xsl0:template> 
     236        <xsl0:template match="sm:callableModel" mode="agents">,'<xsl0:value-of select="resultatAgent(concat('@', getIdFromPath(@sc:refUri), '/codeModel'))"/>'</xsl0:template> 
    233237        <xsl0:template match="sm:agentPath" mode="agents"> 
    234238                <!-- Résolution paer rapport au dialogue en cours pour permettre les syntaxes ... --> 
Note: See TracChangeset for help on using the changeset viewer.