Changes

Jump to navigation Jump to search
427 bytes added ,  09:05, 31 August 2014
update for current beta: export2ncx.xsl fits new register hierarchy, CSS updated
</xsl:stylesheet>
 
<!--
h1 = book title
h2 = part title
h3 = chapter
h4 = section
h5 = subsection
-->
</xmlcode>
}
.part { page-break-before: always;} Titel, .chapter {
margin-top: 1em;
border-top: 1px solid #ccc600a00;
}
.lilypond img {
width: 100%;
margin-bottom: 0.25em;
}
</pre>
<meta name="dtb:uid" content="BookId" />
<meta name="dtb:depth" content="1" />
<meta name="dtb:totalPgeCount" > <xsl:attribute name=" content"> <xsl:value-of select='count(section[@detail="0Titel" ])' /> </xsl:attribute> </meta> <meta name="dtb:maxPageNumber"> <xsl:attribute name=" content"> <xsl:value-of select='count(section[@detail="0Titel" ])' /> </xsl:attribute> </meta>
</head>
<navMap>
<navPoint id="aut_1" origin="aut_1" playOrder="1">
<navLabel>
<text>Start</text>
</navLabel>
<content src="contentText/_intro.xhtmlhtml"/>
</navPoint>
<xsl:for-each select="//registerentry">
<xsl:variable name="location"> <xsl:value-of select='(./descendant::link/@location)[1]'/> <navPoint/xsl:variable > <xsl:attribute variable name="idorigin"> <xsl:value-of select='translate((following-sibling::registerpages/registerpage/link/registerlocation[@location)=$location]/ancestor::section[1@detail="Titel"]/@location, ":", "_")'/> </xsl:variable >  <navPoint> <xsl:attribute name="id"> <xsl:value-of select='translate($location, ":", "_")'/> </xsl:attribute> <xsl:attribute name="origin"><xsl:value-of select="$origin" /></xsl:attribute> <xsl:attribute name="playOrder"> <xsl:value-of select="2 + count(preceding-sibling::registerentry)" /> </xsl:attribute> <navLabel> <text><xsl:applyvalue-templatesof select='./registercontent'/></text> </navLabel> <content> <xsl:attribute name="src">content.xhtml#Text/<xsl:value-of select='translate((following-sibling::registerpages/registerpage/link/@location)[1], ":", "_")$origin'/>.html</xsl:attribute> </content> </navPoint>
</xsl:for-each>

Navigation menu