Ignore:
Timestamp:
10/09/06 19:20:11 (5 years ago)
Author:
sam
Message:

Correction Ticket #38 - Bugs dans la gestion de sm:title (pbs d'axis, de préfix & suffix)

File:
1 edited

Legend:

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

    r6773 r6823  
    755755                <valeur code="callTitle_{generate-id()}"> 
    756756                        <xsl0:choose> 
    757                                 <xsl0:when test="count(*) &lt; 2"> 
     757                                <xsl0:when test="count(*) &lt; 2 and count(sm:binaryTitle/@prefix)=0 and  count(sm:binaryTitle/@suffix)=0"> 
    758758                                        <!-- binaryTile seul --> 
    759                                         <source type="xpath-dynamique">resultatAgent(concat('@', getIdFromPath(concat('src:', java:hGetUri(srcFileAgent()), '/meta.xml')), '_meta<xsl0:value-of select="getAxisSuffix(@axis)"/>/<xsl0:value-of select="si(sm:binaryTitle/@format, sm:binaryTitle/@format, 'fullTitleText')"/>'))</source> 
     759                                        <source type="xpath-dynamique">resultatAgent(concat('@', getIdFromPath(concat('src:', java:hGetUri(srcFileAgent()), '/meta.xml')), '_meta<xsl0:value-of select="getAxisSuffix(sm:binaryTitle/@axis)"/>/<xsl0:value-of select="si(sm:binaryTitle/@format, sm:binaryTitle/@format, 'fullTitleText')"/>'))</source> 
    760760                                </xsl0:when> 
    761761                                <xsl0:otherwise> 
     
    770770                                        </source> 
    771771                                        <valeur code="title"> 
    772                                                 <source type="xpath-dynamique">resultatAgent(concat('@', getIdFromPath(concat('src:', java:hGetUri(srcFileAgent()), '/meta.xml')), '_meta<xsl0:value-of select="getAxisSuffix(@axis)"/>/<xsl0:value-of select="si(sm:binaryTitle/@format, sm:binaryTitle/@format, 'fullTitleText')"/>'))</source> 
     772                                                <source type="xpath-dynamique">resultatAgent(concat('@', getIdFromPath(concat('src:', java:hGetUri(srcFileAgent()), '/meta.xml')), '_meta<xsl0:value-of select="getAxisSuffix(sm:binaryTitle/@axis)"/>/<xsl0:value-of select="si(sm:binaryTitle/@format, sm:binaryTitle/@format, 'fullTitleText')"/>'))</source> 
    773773                                                <resultat cache="*"/> 
    774774                                        </valeur> 
Note: See TracChangeset for help on using the changeset viewer.