Changeset 8872 for trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_odTemplateText/getContent.xml.xsl
- Timestamp:
- 03/05/07 19:29:23 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_odTemplateText/getContent.xml.xsl
r8844 r8872 133 133 </xsl:template> 134 134 <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')}"> 136 136 <xsl:apply-templates/> 137 137 </scOd:dataBlockDeclaration> … … 153 153 </xsl:template> 154 154 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 171 155 <xsl:template match="*"/> 172 156 </xsl:stylesheet>
Note: See TracChangeset
for help on using the changeset viewer.