This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] REPOST: problem installing xml catalogs


On Mon, Apr 07, 2003 at 06:06:34PM +0200, Jens Skripczynski wrote:
> I can verify my setup by using
> " xmlcatalog /etc/xml/docbook \
>    '-//OASIS//DTD DocBook XML V4.2//EN' \
>    'http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd' "
> 
> with the output
> /usr/share/xml/docbook-4.2/docbookx.dtd
> /usr/share/xml/docbook-4.2/docbookx.dtd

  Okay, but I assume you have a /etc/xml/catalog which points to 
your /etc/xml/docbook catalog, right ?

> java org.apache.xalan.xslt.Process \
> -ENTITYRESOLVER org.apache.xml.resolver.tools.CatalogResolver \
> -URIRESOLVER org.apache.xml.resolver.tools.CatalogResolver \
> -in test.xml \
> -xsl xsl-print.xsl \
> -out out/test.xml.fo 
> 

  How do you pass /etc/xml/docbook or /etc/xml/catalog to the xalan
process ? I'm not sure it looks at /etc/xml/docbook automatically like
libxml2 code does by default.

> Can anyone help me with that ?

  Find a way to point your Java code to /etc/xml/catalog

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard at redhat dot com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]