Ignore:
Timestamp:
09/13/06 16:43:44 (6 years ago)
Author:
anp
Message:

implémentation des MCQ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_ModelingAssmnt/spaces/gen/modelBuilder/bs.doss/_common/sma/odTransf/communContent.xsl.xsl

    r6434 r6531  
    120120         
    121121<!--** 
    122          *  Widgets 
     122         *  Fct Utiles 
     123         * Copie l'élément -pElementToRepeat- -pNbRepeat- fois 
    123124         **--> 
     125        <xsl0:template name="tRepeatCopyElement"> 
     126                <xsl0:param name="pNbRepeat"/> 
     127                <xsl0:param name="pElementToRepeat"/> 
     128                <xsl0:param name="pNn"/> 
     129                <xsl0:variable name="vNb" select="si(not(number($pNn)), 0, $pNn)"/> 
     130                <xsl0:if test="not($vNb>=$pNbRepeat)"> 
     131                        <xsl0:copy-of select="$pElementToRepeat"/> 
     132                        <xsl0:call-template name="tRepeatCopyElement"> 
     133                                <xsl0:with-param name="pNbRepeat" select="$pNbRepeat"/> 
     134                                <xsl0:with-param name="pElementToRepeat" select="$pElementToRepeat"/> 
     135                                <xsl0:with-param name="pNn" select="$vNb+1"/> 
     136                        </xsl0:call-template> 
     137                </xsl0:if> 
     138                 
     139                <xsl0:variable name="vIdCall" select="generate-id()"/> 
     140                <xsl:variable name="vPathAgentContent{$vIdCall}" select="concat('@', getIdNode(.), '_meta', '{getAxisSuffix(@axis)}')"/> 
     141                <xsl:value-of disable-output-escaping="yes" select="resultatAgent(concat($vPathAgentContent{$vIdCall}, '/getContent'))"/> 
     142        </xsl0:template> 
    124143         
    125          
    126 <!--** 
    127          *  Fct Utiles 
    128          **--> 
    129144 
    130          
    131145                                 
    132146        <xsl0:template match="*"/> 
Note: See TracChangeset for help on using the changeset viewer.