Ignore:
Timestamp:
03/05/07 19:29:23 (5 years ago)
Author:
anp
Message:

débug dataBlock

File:
1 edited

Legend:

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

    r8844 r8872  
    133133        </xsl:template> 
    134134        <xsl:template match="sm:dataBlockDeclaration"> 
    135                 <scOd:dataBlockDeclaration category="{@category}" sort="{@sort}" hideSameBlock="{@hideSameBlock}" hideEmptyBlocks="{@hideEmptyBlocks}"> 
     135                <scOd:dataBlockDeclaration category="{@category}" sort="{@sort}" hideSameBlock="{@hideSameBlock}" hideEmptyBlocks="{@hideEmptyBlocks}" hideBlockIfShowInContent="{si(@hideBlockIfShowInContent, @hideBlockIfShowInContent, 'no')}"> 
    136136                        <xsl:apply-templates/> 
    137137                </scOd:dataBlockDeclaration> 
     
    153153        </xsl:template> 
    154154         
    155         <xsl:template match="sm:refBlock"> 
    156                 <xsl:for-each select="*"> 
    157                         <xsl:choose> 
    158                                 <xsl:when test="name()='sm:blockPage'"><scOd:refBlock format="page" position="{../@position}"/></xsl:when> 
    159                                 <xsl:when test="name()='sm:blockTitle'"><scOd:refBlock format="text" position="{../@position}"/></xsl:when> 
    160                                 <xsl:when test="name()='sm:blockChapter'"><scOd:refBlock format="chapter" position="{../@position}"/></xsl:when> 
    161                                 <xsl:when test="name()='sm:blockDirection'"><scOd:refBlock format="direction" position="{../@position}"/></xsl:when> 
    162                         </xsl:choose> 
    163                 </xsl:for-each> 
    164         </xsl:template> 
    165                          
    166         <xsl:template match="sm:callBlockData"><scOd:block.data/></xsl:template> 
    167         <xsl:template match="sm:callBlockLabel"><scOd:block.label/></xsl:template> 
    168         <xsl:template match="sm:callBlockPosition"><scOd:block.position/></xsl:template> 
    169         <xsl:template match="sm:callBlockPages"><scOd:callBlockPages separator="{@separator}"/></xsl:template> 
    170          
    171155        <xsl:template match="*"/> 
    172156</xsl:stylesheet> 
Note: See TracChangeset for help on using the changeset viewer.