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/
| libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/