Changeset 7712
- Timestamp:
- 12/12/06 15:48:32 (5 years ago)
- Location:
- branches/3.2.x/Wsp_Modeling
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2.x/Wsp_Modeling/es/content/resources/folderPrim/xml.xed.xml
r6184 r7712 84 84 <element se:name="sm:mainFile" se:bind="element" se:card="1"> 85 85 <atts> 86 <attribute se:name="name" se:bind="attribute" se:mandat="true" >86 <attribute se:name="name" se:bind="attribute" se:mandat="true" tooltiptext="Possibilité de spécifier plusieurs noms de fichier séparés par des virgules. ex : 'index.html, index.htm'"> 87 87 <wordsInput notnull="true" trim="true" flex="1"/> 88 88 </attribute> -
branches/3.2.x/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_binaryXhtmlTransf/bsDescContent.xml.xsl
r6824 r7712 45 45 xmlns:sfile="http://www.utc.fr/ics/scenari/v3/file" 46 46 xmlns:java="http://xml.apache.org/xslt/java" 47 exclude-result-prefixes="sm"> 47 xmlns:xalan="http://xml.apache.org/xalan" 48 exclude-result-prefixes="sm xalan"> 48 49 49 50 <xsl0:output method="xml" encoding="UTF-8" indent="no"/> … … 634 635 <xsl0:otherwise> 635 636 <xsl0:variable name="vMainFileName" select="computeNodeAgent($vAgentModel/source)/sm:structure/sm:mainFile/@name"/> 636 <source type="xpath-dynamique">concat(resultatAgent('//', concat( 'res:src=src:', java:hGetUri(srcFileAgent()))), '/', '<xsl0:value-of select="$vMainFileName"/>')</source> 637 <source type="xpath-dynamique"> 638 concat(resultatAgent('//', concat( 'res:src=src:', java:hGetUri(srcFileAgent()))), '/' 639 <xsl0:for-each select="xalan:tokenize($vMainFileName, ',')"><!-- NOTE : on utilise le caractère ',' et non 'espace' comme séparateur car un nom de fichier peut contenir un espace; si aucun fichier trouvé, on prend le premier --> 640 ,si(java:hGetStatus(java:hFindSource(srcFileAgent(), '<xsl0:value-of select="normalize-space(current())"/>'))='1', '<xsl0:value-of select="normalize-space(current())"/>', '<xsl0:value-of select="si(position()=last(), xalan:tokenize($vMainFileName, ',')[1])"/>') 641 </xsl0:for-each> 642 ) 643 </source> 644 <!--<source type="xpath-dynamique">concat(resultatAgent('//', concat( 'res:src=src:', java:hGetUri(srcFileAgent()))), '/', '<xsl0:value-of select="$vMainFileName"/>')</source>--> 637 645 </xsl0:otherwise> 638 646 </xsl0:choose>
Note: See TracChangeset
for help on using the changeset viewer.