[daisy] Book publishing XSL
Caleb Callaway
caleb at autometrix.com
Thu Apr 5 19:27:17 CDT 2007
I know this isn't exactly a Daisy question, but I could really use some
help. This is a custom document style for generating books:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://outerx.org/daisy/1.0"
xmlns:einclude="http://outerx.org/daisy/1.0#externalinclude"
xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
xmlns:p="http://outerx.org/daisy/1.0#publisher">
<!-- for some reason relative paths don't work here... -->
<xsl:import
href="file:/C:/daisy-2.0/WikiData/books/publicationtypes/common/book-documen
t-to-html.xsl" />
<xsl:template match="d:part[@name='Requirements']/html/body">
<h2 class="requirements">Requirements</h2>
<xsl:value-of select="."/>
</xsl:template>
<xsl:template
match="d:part[@name='SimpleDocumentContent']/html/body">
<h2>Procedure</h2>
<xsl:value-of select="."/>
</xsl:template>
</xsl:stylesheet>
The headers are not making it to the book, and I dunno why. Any thoughts?
Thanks much,
Caleb
More information about the daisy
mailing list