Changeset 19617


Ignore:
Timestamp:
02/01/12 17:58:57 (4 months ago)
Author:
sam
Message:

compoWebTransf : ajout sm:navigation/sm:for/sm:freeXpath

Location:
trunk/Wsp_Modeling
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/es/content/organisation/compositionXhtmlTransf/xml.xed.xml

    r19605 r19617  
    120120                                <se:ref se:refid="sm:fixedString_noloc"/> 
    121121                        </childs> 
     122                </element> 
     123                 
     124                <element se:id="sm:freeXpath" se:name="sm:freeXpath" se:bind="element" forcefilled="true"> 
     125                        <atts> 
     126                                <attribute se:bind="attribute" se:name="xpath"> 
     127                                        <wordsInput trim="true" notnull="true" frenchPonct="false"/> 
     128                                </attribute> 
     129                        </atts> 
    122130                </element> 
    123131                 
     
    13631371<!-- TODO                                                                                       <se:ref se:refid="sm:callPartMeta"/> --> 
    13641372                                                                                        <se:ref se:refid="sm:callModel"/> 
     1373 
     1374                                                                                        <se:ref se:refid="sm:freeXpath"/> 
     1375 
    13651376                                                                                </se:choice> 
    13661377                                                                                <insert se:bind="current"/> 
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs/sm_compositionXhtmlTransf/bs.xml.xsl

    r19586 r19617  
    239239         
    240240        <!-- ######### listenoeuds_xsl ########--> 
     241        <xsl0:template match="sm:freeXpath" mode="listenoeuds_xsl"> 
     242                <xsl:value-of> 
     243                        <xsl0:attribute name="select"> 
     244                                <xsl0:apply-templates select="." mode="listenoeuds_item"/> 
     245                        </xsl0:attribute> 
     246                </xsl:value-of> 
     247        </xsl0:template> 
    241248        <xsl0:template match="sm:choose" mode="listenoeuds_xsl"> 
    242249                <xsl:choose> 
     
    315322        <xsl0:template match="sm:callModel" mode="listenoeuds_item">resultatAgent('//callModel_<xsl0:value-of select="generate-id()"/>')</xsl0:template> 
    316323        <xsl0:template match="sm:callCompositionMeta" mode="listenoeuds_item">concat('@', getIdNode(.), '_meta<xsl0:value-of select="getAxisSuffix(@axis)"/>')</xsl0:template> 
     324        <xsl0:template match="sm:freeXpath" mode="listenoeuds_item"><xsl0:value-of select="@xpath"/></xsl0:template> 
    317325        <xsl0:template match="node()" mode="listenoeuds_item"/> 
    318326         
Note: See TracChangeset for help on using the changeset viewer.