Subject: Re: CVS commit: htdocs
To: Julio Merino <jmmv@menta.net>
From: grant beattie <grant@netbsd.org>
List: www-changes
Date: 01/31/2003 09:21:18
On Thu, Jan 30, 2003 at 11:03:33PM +0100, Julio Merino wrote:

> > It would appear so, due to the way the Website XML stuff works.
> > Passing 'path/source.xml' to xsltproc confuses it, since it expects
> > the generated autolayout.xml to be in that directory, rather than the
> > cwd.
> 
> It is only a matter of the autolayout.xml file? Symbolic links will solve
> that... Anyway, if an xml file is put inside a directory, we should build
> it from inside that directory, not from a single top makefile.

The autolayout file dictates the href, is used for generating ToCs and
the like. It controls how the site is "structured".

afaict, there's no way (or purpose) in having multiple layout files.
The idea is to have only one, and the site is completely heirarchical
in structure.

I would really like a recursive 'make' type arrangement, but without
hackery, this doesn't appear an easy solution... I am not at all
opposed to pulling stuff out of the Website XSL stuff and customising
it for our needs, however.

g.