templates/ssm.epub.xsl
branchv_0
changeset 82 a11239f9f9e7
parent 81 47717a4ed4bb
equal deleted inserted replaced
81:47717a4ed4bb 82:a11239f9f9e7
   126 					</text>
   126 					</text>
   127 				</docTitle>
   127 				</docTitle>
   128 				<navMap>
   128 				<navMap>
   129 					<navPoint id="{m:id}_preamble" playOrder="1">
   129 					<navPoint id="{m:id}_preamble" playOrder="1">
   130 						<navLabel>
   130 						<navLabel>
   131 							<text>
   131 							<text>Preamble</text>
   132 								<xsl:value-of select="m:title"/>
       
   133 							</text>
       
   134 						</navLabel>
   132 						</navLabel>
   135 						<content src="index.xhtml"/>
   133 						<content src="index.xhtml"/>
   136 						<xsl:for-each select="m:chapter">
       
   137 							<navPoint
       
   138 								id="{m:id}"
       
   139 								playOrder="{count(preceding::m:chapter)+2}"
       
   140 							>
       
   141 								<navLabel>
       
   142 									<text>
       
   143 										<xsl:value-of select="m:name"/>
       
   144 									</text>
       
   145 								</navLabel>
       
   146 								<content src="{m:id}.xhtml"/>
       
   147 							</navPoint>
       
   148 						</xsl:for-each>
       
   149 					</navPoint>
   134 					</navPoint>
       
   135 					<xsl:for-each select="m:chapter">
       
   136 						<navPoint
       
   137 							id="{m:id}"
       
   138 							playOrder="{count(preceding::m:chapter)+2}"
       
   139 						>
       
   140 							<navLabel>
       
   141 								<text>
       
   142 									<xsl:value-of select="m:name"/>
       
   143 								</text>
       
   144 							</navLabel>
       
   145 							<content src="{m:id}.xhtml"/>
       
   146 						</navPoint>
       
   147 					</xsl:for-each>
   150 				</navMap>
   148 				</navMap>
   151 			</ncx>
   149 			</ncx>
   152 		</exsl:document>
   150 		</exsl:document>
   153 
   151 
   154 		<exsl:document href="OEBPS/index.xhtml">
   152 		<exsl:document href="OEBPS/index.xhtml">