Ignore:
Timestamp:
05/10/07 23:30:30 (5 years ago)
Author:
anp
Message:

Contournement bug moteur xpath qui génère une exception quand "id" possède un saut de ligne dans <xsl:for-each select=//xxxx[normalize-space(id)=$vId]>...

File:
1 edited

Legend:

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

    r8994 r9232  
    402402        <xsl0:template match="sm:dataBlock" name="sm:dataBlock_mContent" mode="mContent"> 
    403403                <scOd:dataBlock category="{@category}"> 
    404                         <scOd:id> 
     404                        <xsl:variable name="vId"> 
    405405                                <xsl0:choose> 
    406406                                        <xsl0:when test="sm:blockId"><xsl0:apply-templates select="sm:blockId"/></xsl0:when> 
     
    408408                                        <xsl0:otherwise><xsl0:apply-templates select="sm:label"/></xsl0:otherwise> 
    409409                                </xsl0:choose> 
    410                         </scOd:id> 
     410                        </xsl:variable> 
     411                        <scOd:id value="{{normalize-space($vId)}}"/> 
    411412                        <xsl0:apply-templates select="sm:overrideContentDeclaration"/> 
    412413                        <scOd:sortKey><xsl0:apply-templates select="sm:sortKey"/></scOd:sortKey> 
Note: See TracChangeset for help on using the changeset viewer.