This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Relative Paths?
- From: Galen Boyer <galenboyer at hotpop dot com>
- To: Paul Grosso <pgrosso at arbortext dot com>
- Cc: docbook <docbook at lists dot oasis-open dot org>
- Date: 19 Mar 2003 10:28:21 -0800
- Subject: Re: Relative Paths?
- Original-original-sender: galenboyer@hotpop.com
- References: <4.3.2.7.2.20030319084148.03b3b038@172.27.10.30>
On Wed, 19 Mar 2003, pgrosso at arbortext dot com wrote:
> Relative paths are relative to the base URI which--in the
> absence of other info (such as in your case)--
Well, I could cut-n-paste the whole thing in, but that would piss alot
of people off.
> is the resource in which they were found.
>
> So in the first case, images-db/schema_picture.bmp is relative
> to dbms/docs/database.xmldoc and in the second case it is
> relative to your document.
So, in a subdocument, I must either do fully qualified paths or make
relative references from the parent document?
Hm... (Gives it a go)
Yep, that works. Thanks, I have a way to proceed.
The bummer is that a need to restructure a book that includes all sorts
of subdocuments wouldn't involve just reworking xml tags, but also the
data within those chapters and subsections. Well, I guess it is
attribute data of the xml tags, and not actual data. Hm...
Is there anyway for a subdocument to use a predefined entity that
represents a path and prepend that to the appropriate files to be
referenced. (ie, in a subdocument, and continuing with my image example,
I tried the following which failed, but the idea is what I'd like to
accomplish)
<imageobject>
<imagedata fileref="&database_doc_dir;/images-db/schema_picture.bmp"/>
</imageobject>
--
Galen deForest Boyer
Sweet dreams and flying machines in pieces on the ground.