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

From
Jirka Kosek <>
Date
2012-01-20T20:32:16+00:00
ID
Thread
Re: [docbook-apps] Incorrect output dir if I use chunk.xsl with Apache Ant
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
------------------------------------------------------------------