RE: DTD and Entity Resolver

Hi Mansour,

Put a CatalogManager.properties within the location from where you are
running (or at the top-level of some jar that is in the class path. In
there you can specify properties like:

catalogs=dtd/catalog.xml
relative-catalogs=1
static-catalog=1
verbosity=1

You could look at my ebook conversion app to see how to do various stuff:
https://github.com/grtjn/xproc-ebook-conv

Kind regards,
Geert

> -----Oorspronkelijk bericht-----
> Van: Mansour Al Akeel [mailto:mansour.alakeel@gmail.com]
> Verzonden: zondag 21 oktober 2012 17:44
> Aan: xproc-dev@w3.org
> Onderwerp: DTD and Entity Resolver
>
> I am trying to process many xml files. All of these files have DTD
> that doesn't exist.
> I read Norman's Walsh article, and tried to follow it :
>
> http://norman.walsh.name/2009/07/22/xmlCatalogsandXProc
>
> So I downloaded the resolver from
> http://www.java2s.com/Code/Jar/x/Downloadxmlresolverjar.htm
>
> and setup the configuration. Now I don't know how to specify the
> catalog for the path for the dummy.dtd
>
> My question is, how do I specify the catalog file ??
>

Received on Monday, 22 October 2012 08:00:57 UTC