[docbook-apps] Use of XML Catalog with Ant (xslt task) - request for example (using for DocBook/WebHelp)

2013-08-09 Thread Kerry, Richard
I'm trying to get DocBook WebHelp building working. Although I do already have a working Ant build file based on the one from the DocBook stylesheet distribution I would like to use Catalogs for resolving my stylesheet locations, which the one provided doesn't. For my other target formats I'm

[docbook-apps] Using the Maven example project - goals to run customisation

2013-08-09 Thread graeme
Hi there, I was wondering if anyone could explain how to use the example Maven project located here: http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/maven/docbook-sample/ From the look of the POM file, the project is capable of doing the following during a build: * downloading the latest

[docbook-apps] RE: Use of XML Catalog with Ant (xslt task) - request for example (using for DocBook/WebHelp)

2013-08-09 Thread Olsen, Morten Engelhardt
Hi Kerry, We use the xslt task in ant with catalogs. The FO transformation consists of the following xslt task xslt in=${outputLocation}/${docName}-profiled.xml style=${env.BUILD_TOOLS_DOCBOOK_DIR}/pdf-ns.xsl out=${outputLocation}/${docName}.fo

[docbook-apps] RE: Use of XML Catalog with Ant (xslt task) - request for example (using for DocBook/WebHelp)

2013-08-09 Thread Kerry, Richard
Morten, I'm not convinced you're doing what I want to do. Your @style attribute includes a property which looks likely to be a directory name. This suggests you aren't using the catalog to get the xsl file's location. You don't show any reference to catalogManager.properties. There is a

[docbook-apps] RE: Use of XML Catalog with Ant (xslt task) - request for example (using for DocBook/WebHelp)

2013-08-09 Thread Olsen, Morten Engelhardt
Ah, me not reading properly. No, the catalog is used for offline caching of files etc in the docbook source. To clearify, you want to invoke the xslt task with a @style pointing to some URI, that the catalog would rewrite to some local file? :: Morten Engelhardt Olsen

Re: [docbook-apps] Use of XML Catalog with Ant (xslt task) - request for example (using for DocBook/WebHelp)

2013-08-09 Thread David Cramer
On 08/09/2013 05:19 AM, Kerry, Richard wrote: For my other target formats I’m using Saxon 6, via an Ant Java task. I have catalogs working for these as that’s taken care of by parameters passed to Saxon. For WebHelp I’m using the Xslt task – that’s how the one in the stylesheet distribution

Re: [docbook-apps] Using the Maven example project - goals to run customisation

2013-08-09 Thread David Cramer
On 08/09/2013 05:23 AM, gra...@heliocentrik.net wrote: This is exactly the workflow I'd like to replicate. What I'm confused about is which goals/targets to run to get it to actually do all this stuff. I've tried things like 'xml:transform', 'site' and so on, but it always seems to fail to

Re: [docbook-apps] Using the Maven example project - goals to run customisation

2013-08-09 Thread graeme
On Fri, Aug 9, 2013, at 16:52, David Cramer wrote: On 08/09/2013 05:23 AM, gra...@heliocentrik.net wrote: This is exactly the workflow I'd like to replicate. What I'm confused about is which goals/targets to run to get it to actually do all this stuff. I've tried things like

Re: [docbook-apps] Use of XML Catalog with Ant (xslt task) - request for example (using for DocBook/WebHelp)

2013-08-09 Thread Tony Graham
On Fri, August 9, 2013 11:19 am, Kerry, Richard wrote: ... I've tried to follow Ant's documentation regarding the xmlcatalog element but I can't get it to work. (I am finding the Ant documentation in this area extremely hard to follow) By can't get it to work I mean it doesn't find the files