This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] [website] olink mechanismen complains about missing website.database.xml but this isn't missing
- From: Bob Stayton <bobs at sco dot com>
- To: Oliver Fischer <plexus at snafu dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 30 Sep 2003 08:56:39 -0700
- Subject: Re: [docbook-apps] [website] olink mechanismen complains about missing website.database.xml but this isn't missing
- References: <3F78C5F2.5010505@snafu.de>
On Tue, Sep 30, 2003 at 01:53:22AM +0200, Oliver Fischer wrote:
> Hello,
>
> at the moment I am playing around with website 2.5.0 and it's olink
> mechanism. First of all: the source XML documents are in different
> directories. Here is my makefile target:
>
> (unset SGML_CATALOG_FILES; $(XSLTPROC) $(XSLTPROC_OPTIONS) -o $@ \
> --stringparam autolayout-file "$(.CURDIR)/autolayout.xml" \
> --stringparam target.database.document \
> "$(.CURDIR)/website.database.xml" \
> $(XSL_TABULAR) $<)
>
> I specify target.database.document explicitly. Nevertheless the XSL
> stylesheets give these warnings:
>
> (unset SGML_CATALOG_FILES; /usr/local/bin/xsltproc --catalogs --nonet
> --xinclude -o tests/zielendeseite.html --stringparam autolayout-file
> "/usr/home/plexus/ew/pwxsl/kopf/test/netzseite/autolayout.xml"
> --stringparam target.database.document
> "/usr/home/plexus/ew/pwxsl/kopf/test/netzseite/website.database.xml"
> ./../../website/xsl/tabular.xsl tests/zielendeseite.xml)
> Variable $SGML_CATALOG_FILES not set
> warning: failed to load external entity "tests/website.database.xml"
> warning: failed to load external entity "tests/website.database.xml"
> warning: failed to load external entity "tests/website.database.xml"
> warning: failed to load external entity "tests/website.database.xml"
> warning: failed to load external entity "tests/website.database.xml"
> warning: failed to load external entity "tests/website.database.xml"
>
>
> May it is possible to avoid this warning?
Website supports *two* olink databases, identified by
two different parameters:
website.database.document - targets in webpages in your layout.xml
target.database.document - other documents outside of Website
You are setting the parameter for the offsite targets.
That leaves the stylesheet to look for the website
targets in the default location, which is the current
directory. Change the parameter name in your command to
'website.database.document' and it should work.
You only need target.database.document if some of your
webpages contain olink references to documents outside
of your Website.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.