Ignore:
Timestamp:
09/13/06 15:40:31 (6 years ago)
Author:
anp
Message:

consolidation gestion des styles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_dataFormOdTransf/getContent.xsl.xsl

    r6510 r6530  
    118118                <xsl0:variable name="vStyleCode" select="ancestor::sm:WTable[1]/@style"/> 
    119119                <xsl0:variable name="vTableDom" select="computeNodeAgent(concat(resultatAgent('//agentTemplateScData', concat($vCodeTransformer, '/', $vStyleCode, '/blocks.contentFile/table')), '/getContent'))"/> 
    120                 <xsl0:variable name="vTableRowId" select="ancestor::sm:WTableRow[1]/@id"/> 
     120                <xsl0:variable name="vTableRowId" select="generate-id(ancestor::sm:WTableRow[1])"/> 
    121121                <xsl0:variable name="vPosRow" select="count(preceding::sm:WTableRow[ancestor::sm:WTable[1]/@style = $vStyleCode])+1"/> 
    122122                <xsl0:variable name="vPosRow_format"><xsl0:number value="$vPosRow" format="1"/></xsl0:variable> 
    123                 <xsl0:variable name="vPosCol" select="count(preceding::sm:WTableCell[ancestor::sm:WTableRow[1]/@id = $vTableRowId])+1"/> 
     123                <xsl0:variable name="vPosCol" select="count(preceding::sm:WTableCell[generate-id(ancestor::sm:WTableRow[1]) = $vTableRowId])+1"/> 
    124124                <xsl0:variable name="vPosCol_format"><xsl0:number value="$vPosCol" format="A"/></xsl0:variable> 
    125125                <xsl0:variable name="vDefaultStyle_table" select="resultatAgent('//agentTemplateScData', concat($vCodeTransformer, concat('/', $vStyleCode, '/table/getOdStyleName')))"/> 
Note: See TracChangeset for help on using the changeset viewer.