Subject: Re: XML and relative paths in htdocs
To: None <netbsd-docs@NetBSD.org>
From: Klaus Heinz <k.heinz.dez.fuenf@onlinehome.de>
List: netbsd-docs
Date: 12/11/2005 01:00:51
Hubert Feyrer wrote:
> On Sat, 10 Dec 2005, Klaus Heinz wrote:

> > <olink targetdoc="doc.foo.id" targetptr="some.anchor.id" />
> 
> Where does "doc.foo.id" come from?

It's an identifier for the document which we can choose; it probably
should describe the content of the document.
If we keep this identifier the same, we could even move the document
itself to a different directory and the XSLT stylesheets should track
this new location by means of the document database and create new
correct relative "href" attributes.
That's what I meant when I wrote "similar to layout.xml/autolayout.xml".
Of course we must maintain this "document database" file, like we do
with layout.xml, when we move an XML file. I still hope we can automate
this process of maintaining layout.xml (and maybe this other file) some
more.

ciao
     Klaus