This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
website and subdirs problem
- From: Jakob Voß <jakob dot voss at s1999 dot tu-chemnitz dot de>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 08 Apr 2002 00:06:02 +0200 (MEST)
- Subject: DOCBOOK-APPS: website and subdirs problem
i'm not quite sure, but there seems to be a little bug in
website when you use subdirs - but maybe i'm just stupid?
first i want to store some of the source documents (xml) in
the same subdir as the produced html-files.
subdir.xml => subdir\index.html
subdir\foo.xml => subdir\foo.html
subdir\bar.xml => subdir\bar.html
And second a want to navigate through the files (prev/next),
so i put into the stylesheet driver:
<xsl:param name="sequential.links" select="'1'"/>
the layout file should be something like this:
<layout>
<toc page="subdir.xml" dir="subdir" file="index.html"
<tocentry page="subdir\foo.xml" file="foo.html"/>
<tocentry page="subdir\bar.xml" file="bar.html"/>
</toc>
</layout>
i also tried different combinations like
<tocentry page="foo.xml" dir="subdir" file="foo.html"/>
but either creation of autolayout.xml fails or the file
destination is "subdir\subdir\foo.html" or the navigation
between "foo.html" and "bar.html" does not work because
the generated hyperlinks lead to the wrong directory.
any websites with similar structure that are working?
thanks a lot,
jakob