This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] REPOST: problem installing xml catalogs
- From: Daniel Veillard <veillard at redhat dot com>
- To: Jens Skripczynski <skripi-lists at myrealbox dot com>
- Cc: docbook-app <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 7 Apr 2003 13:17:28 -0400
- Subject: Re: [docbook-apps] REPOST: problem installing xml catalogs
- References: <20030407160634.GA3999@shadowland.sc>
- Reply-to: veillard at redhat dot com
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