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]

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



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