Re: [docbook-apps] Incorrect output dir if I use chunk.xsl with Apache Ant

From
Lars Vogel <>
Date
2012-01-20T20:44:46+00:00
ID
Thread
Re: [docbook-apps] Incorrect output dir if I use chunk.xsl with Apache Ant
Thanks but I don't understand your answer.

The same setup works perfectly with docbook.xsl. If I switch to chunk.xsl it fails.

Doesn't that indicate a difference in the chunk.xsl?

Am 20.01.2012 21:32 schrieb "Jirka Kosek" <>:
On 20.1.2012 16:43, Lars Vogel wrote:

> If I use docbook.xsl everything works fine. Therefore and according to the

> explanation of Jirka this seem not to be an Ant problem.

It's definitively problem in your Ant build file. Try running Ant in

debugging mode (-d option) and see what values are assigned to

${article.dir} variable. Then make sure that same value are passed into

base.dir XSLT parameter.

> It appears that chunks.xsl is different from docbook.xsl with regards to

> the determination of the output directory.

Yes.

> Is there a section in docbook.xsl which determines the output dir?

No, output location in this case is determined by process invoking

transformation, in this case <xslt> task.

--

------------------------------------------------------------------

  Jirka Kosek      e-mail:       http://xmlguru.cz

------------------------------------------------------------------

       Professional XML consulting and training services

  DocBook customization, custom XSLT/XSL-FO document processing

------------------------------------------------------------------

 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member

------------------------------------------------------------------