Changeset 8872 for trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/_common/sm/od/getContent.xsl.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/_common/sm/od/getContent.xsl.xsl
r8845 r8872 114 114 </xsl0:template> 115 115 116 116 117 <!-- ## 117 118 # dataBlock 118 119 ### --> 119 <xsl0:template match="sm:overrideContentDeclaration">120 <xsl0:template match="sm:overrideContentDeclaration"> 120 121 <scOd:overrideContentDeclaration> 121 122 <xsl0:apply-templates/> 122 123 </scOd:overrideContentDeclaration> 123 </xsl0:template> 124 </xsl0:template> 125 126 <xsl0:template match="sm:refBlock" name="sm:refBlock"> 127 <xsl0:for-each select="*"> 128 <xsl0:choose> 129 <xsl0:when test="name()='sm:blockPage'"><scOd:refBlock format="page" position="{../@position}"/></xsl0:when> 130 <xsl0:when test="name()='sm:blockTitle'"><scOd:refBlock format="text" position="{../@position}"/></xsl0:when> 131 <xsl0:when test="name()='sm:blockChapter'"><scOd:refBlock format="chapter" position="{../@position}"/></xsl0:when> 132 <xsl0:when test="name()='sm:blockDirection'"><scOd:refBlock format="direction" position="{../@position}"/></xsl0:when> 133 </xsl0:choose> 134 </xsl0:for-each> 135 </xsl0:template> 136 <xsl0:template match="sm:refBlock" mode="mContent"><xsl0:call-template name="sm:refBlock"/></xsl0:template> 137 138 <xsl0:template match="sm:callBlockData" name="sm:callBlockData"><scOd:block.data/></xsl0:template> 139 <xsl0:template match="sm:callBlockData" mode="mContent"><xsl0:call-template name="sm:callBlockData"/></xsl0:template> 140 141 <xsl0:template match="sm:callBlockLabel" name="sm:callBlockLabel"><scOd:block.label/></xsl0:template> 142 <xsl0:template match="sm:callBlockLabel" mode="mContent"><xsl0:call-template name="sm:callBlockLabel"/></xsl0:template> 143 144 <xsl0:template match="sm:callBlockPosition" name="sm:callBlockPosition"><scOd:block.position/></xsl0:template> 145 <xsl0:template match="sm:callBlockPosition" mode="mContent"><xsl0:call-template name="sm:callBlockPosition"/></xsl0:template> 146 147 <xsl0:template match="sm:callBlockPages" name="sm:callBlockPages"><scOd:callBlockPages separator="{@separator}"/></xsl0:template> 148 <xsl0:template match="sm:callBlockPages" mode="mContent"><xsl0:call-template name="sm:callBlockPages"/></xsl0:template> 124 149 125 150 </xsl0:stylesheet>
Note: See TracChangeset
for help on using the changeset viewer.