OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


On 9.1.2012 9:07, Lars Vogel wrote:

> This is a strange issue for me as I can see no reason why this should
> happen. Did anyone ran into this already and know how to solve it?

XSLT support has many quirks in Ant. But in this case Ant is innocent.
You have to use XSLT parameter base.dir for this purpose, chunking
stylesheets doesn't use primary XSLT output and destdir is not used:


<target name="build-html" depends="xinclude" description="Generates HTML
files from DocBook XML">
<xslt style="${myhtml.stylesheet}" extension=".html"
basedir="${outputtmp.dir}">
<include name="**/*article.xml" />
<classpath refid="saxon.class.path" />
<param name="base.dir" expression="${article.dir}"/>
</xslt>
</target>

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      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
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]