This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Ant "Style" task does not work with docbook xsl, why?
- From: Steffen Maier <Steffen dot Maier at studserv dot uni-stuttgart dot de>
- To: Alexander Schatten <alasan at gmx dot net>
- Cc: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 01 Jan 2002 21:57:31 +0100 (CET)
- Subject: Re: DOCBOOK-APPS: Ant "Style" task does not work with docbook xsl, why?
On Mon, 31 Dec 2001, Alexander Schatten wrote:
> I use ant build files for automatic publishing tasks which is _very_ useful.
>
> ant has a built-in "style" task that invoces xalan to make xsl
> transformations. it works with all xsl stylesheets I have written, but
> does not work with N. Walshs docbook (html) stylesheets. (with no error
> btw: the task is simply ignored).
Could you please give us more information e.g. the respective parts of
your build.xml and maybe ant's verbose/debug output?
The fact that ant ignored your task sounds like all dependencies were
allready fulfilled? I mean either out="..." was newer than in="..." or the
respective attribute values for multiple in/out-files (chunking) told ant
that everything is allready done. Using website-xsl the latter wouldn't
work with my setup (of course, because ant doesn't know anything about
(auto)layout.xml...). Haven't tried "normal" docbook chunking yet.
I had problems using ant+xalan+dbxsl giving syntax errors in the
stylesheets (might just have been an old xalan version) but I didn't mind
because I wanted to use ant+saxon+crimson+resolver+dbxsl anyways. There
are some annoying issues though, concerning ant's style task and classpath
as well as system properties (needed to configure JAXP) [ant
mailinglists]. That's why I stick with the java task using
saxon-extensions and transforming my autolayout.xml with website-xsl. If
someone out there had more success using style task with website I would
be happy to hear about.
Bye,
Steffen.
--
http://w3studi.informatik.uni-stuttgart.de/~maiersn/
mailto:Steffen.Maier@studserv.uni-stuttgart.de