Docbook xsl:import: unable to load docbook.xsl

From FVue
Jump to: navigation, search


When I try to generate docbook documentation from an asciidoc file using a2x, it's giving me errors:

$ a2x -f xhtml test.txt
I/O error : Attempt to load network entity
warning: failed to load external entity
compilation error: file /etc/asciidoc/docbook-xsl/xhtml.xsl line 13 element import
xsl:import : unable to load
a2x: failed: xsltproc --stringparam html.stylesheet "./docbook-xsl.css"
--stringparam 0 --stringparam 0 --stringparam
admon.textlabel 1 --stringparam 0 --nonet
"/mnt/proj/bashCompletion/doc/asciidoc/test.txt" >"test.html"


After installing package `docbook-xsl', everything works fine:

$ sudo apt-get install docbook-xsl
$ a2x -f xhtml test.txt


  • Ubuntu 8.04


blog comments powered by Disqus