On 16/08/13 11:45, Kerry, Richard wrote:
I'm still not getting this working.
Please can someone who's had it working tell me how to do the following :
1. The syntax for the catalog spec.
Ive tried this :
<xmlcatalog id="docbook-catalog" >
<catalogpath>
<pathelement location="${catmanpath}/CatalogManager.properties"/>
</catalogpath>
</xmlcatalog>
<catalog prefer="public"
xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
I think it needs the ns?
HTH
and something similar with the Catalog.xml in the <pathelement>, though
neither is sufficient to make it work.
2. The syntax for specifying the stylesheet.
I'm currently using :
<style>
<url url="file://profiling/profile.xsl" />
</style>
This seems to make the processing take some time (8 to 10 seconds) where
any other number of slashes makes it near-instantaneous, so I'm assuming
that's at least trying to do something, even if it gets the result wrong.
3. The Ant docs say resolver.jar needs to be in the "system
classpath". I haven't consciously got one of those, but within the
<project> I do have a <path id="classpath"> (as copied from the version
provided in the standard stylesheets). Is that what's meant ?
I have also tried a <classpath> within the <xslt>, but the Ant docs say
that's just used to look-up the xslt processor. The build.xml from the
standard stylesheets doesn't specify this for the profiling pass so I
presume that makes it use its default. But is this where I need also to
tell it where the resolver lives ?
Uncertainly,
Richard.
Blue line
*Richard Kerry*
BNCS Engineer, SI SOL Telco & Media Vertical Practice
T: +44 (0)20 82259063[Call: +44 (0)20 82259063] <thismessage:/Body.htm#>
M: +44 (0)7812 325518[Call: +44 (0)7812 325518] <thismessage:/Body.htm#>
G300, Stadium House, Wood Lane, London, W12 7TA
richard.ke...@atos.net
<https://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177&URL=mailto%3arichard.kerry%40atos.net>
Atos logo
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive this
e-mail in error, please notify the sender immediately and destroy it. As
its integrity cannot be secured on the Internet, the Atos group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender
does not warrant that this transmission is virus-free and will not be
liable for any damages resulting from any virus transmitte
------------------------------------------------------------------------
*From:* Kerry, Richard [richard.ke...@atos.net]
*Sent:* 14 August 2013 11:44
*To:* docbook-apps@lists.oasis-open.org
*Subject:* RE: [docbook-apps] Use of XML Catalog with Ant (xslt task) -
request for example (using for DocBook/WebHelp)
I've got that (though as a literal param rather than in ANT_OPTS), which
is how I can say "It doesn't show any messages ".
Including absence of any reference to the resolver.
Uncertainly,
Richard.
-----Original Message-----
From: Olsen, Morten Engelhardt [mailto:morten_engelhardt.ol...@atmel.com]
Sent: Friday, August 09, 2013 9:37 PM
To: docbook-apps@lists.oasis-open.org
Subject: RE: [docbook-apps] Use of XML Catalog with Ant (xslt task) -
request for example (using for DocBook/WebHelp)
Also, running ant with the environment variable ANT_OPTS=-d would enable
debug logging to the console. The resolver should then be possible to
spot...
:: Morten
-----Original Message-----
From: Tony Graham [mailto:tgra...@mentea.net]
Sent: 9. august 2013 18:04
To: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Use of XML Catalog with Ant (xslt task) -
request for example (using for DocBook/WebHelp)
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 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.
You should presume it is finding it: it gives a warning if you're using
an external catalog and it can't find a resolver.
Does anyone have any complete example of this working.
Ie one that includes a reference to the resolver jar, and the
classpath, and the catalog file and/or catalogManager.properties.
When finding the resolver.jar fails when resolver.jar is referred to in
xslt/@classpath, I usually just give up and put resolver.jar in Ant's
own 'lib' directory.
Regards,
Tony Graham tgra...@mentea.net
Consultant http://www.mentea.net <http://www.mentea.net/>
Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
XML, XSL-FO and XSLT consulting, training and programming
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org