Does anyone know how to use the style task with docbook xsl
files? I got my stylesheets from http://docbook.sourceforge.net. My details follow, but
is anyone using Nant to transform docbook documents? Is there an easier
way than the way I'm going here?
Thanks for your
time,
Jason
Here is my Nant task:
<style
in =
"${doc.dir}\projacct\DeveloperIntro.xml"
out = "${web.dir}\DeveloperIntro.htm" />
The output for this task
is
BUILD FAILED
C:\nant\try\xpede.build(30,4): Could not perform XSLT
transformation.
(20,2) :
Try 'nant -help' for more information
Process
nant.EXE exited with code 1
However, I am able to do the transform with
xsltproc, with the following cygwin command:
$ xsltproc
/c/nant/try/doc/stylesheets/docbook/xhtml/docbook.xsl
/c/nant/try/doc/projacct/DeveloperIntro.xml >
/c/inetpub/wwwroot/DeveloperIntro.htm
which outputs the following warning message, but successfully builds Developer.htm
/c/nant/try/doc/projacct/DeveloperIntro.xml:2: warning: failed
to load external entity "file:///c%3A/docbook/docbkx412/docbookx.dtd"
DocBook XML
V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd