OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Error in Apache Ant task with Saxon from DocBook to epub


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

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" />

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 

http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]