← Prev in month
← Prev in thread
Error in Apache Ant task with Saxon from DocBook to epub
Hello,
I'm trying to use an Apache Ant task to translate DocBook to epub via the docbook-xsl.1.76.1 stylesheets.
I receive the following error message:
C:\Users\vogella\workspace_sapmobile\test\docbook-xsl-1.76.1\epub\docbook.xsl:1275:30: Fatal Error! The priority attribute must be absent if the match attribute is absent
[xslt]
In input is a very simple book.xml file and my relevant build.xml looks like the following:
<target name="build-epub" depends="depends" description="Generates EPUB files from DocBook XML">
<xslt style="${epub.stylesheet}" extension=".html" basedir="${documents}" destdir="${output.dir}">
<include name="**/*book.xml" />
<include name="**/*article.xml" />
<classpath refid="saxon.class.path" />
</xslt>
</target>
Translation to HTML works fine.
Any suggestion would be helpful. I googled for a working example but failed to find one. Also the DocBook XSL book does not seem to contain a chapter about epub publishing.
Best regards, Lars
--
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter
← Prev in month
← Prev in thread