ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Use of XML Catalog with Ant (xslt task) - request for example
Date Fri, 16 Aug 2013 18:48:15 GMT
On 2013-08-14, Kerry, Richard wrote:

> I'm trying to get DocBook WebHelp building working, which uses Ant to
> control the various processes involved, in particular Xslt.  I would
> like to use Catalogs for resolving my XSL stylesheet locations, and
> have thus far been unable to make this work.

I haven't used xmlcatalogs myself so far, but I'm pretty sure others
have.  Late on in a different message you say you want the catalog to
resolve the stylesheet itself - I'm afraid this is not supported.

> By "can't get it to work" I mean it doesn't find the files I'm trying
> to reference via the catalog.  It doesn't show any messages indicating
> whether or not it is using the resolver, so I presume it isn't finding
> it.

The docs say Ant would log a warning if the resolver cannot be found.
"no message" indicates Ant doesn't try to use the catalog at all to me.

How (a build.xml snippet) are you trying catalogs to do what?

The <xslt> task only uses catalogs to resolve DTDs and entities inside
the XML documents - it does not use the catalog when locating the
documents to transform or the stylesheet itself.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message