This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Relative Paths?
- From: Paul Grosso <pgrosso at arbortext dot com>
- To: Galen Boyer <galenboyer at hotpop dot com>, docbook <docbook at lists dot oasis-open dot org>
- Date: Wed, 19 Mar 2003 08:43:29 -0600
- Subject: Re: Relative Paths?
Relative paths are relative to the base URI which--in the
absence of other info (such as in your case)--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.
paul
At 22:19 2003 03 18 -0800, Galen Boyer wrote:
>I have
>
><!DOCTYPE book PUBLIC "...."
>[
><!ENTITY database SYSTEM "dbms/docs/database.xmldoc">
>]>
><book>
> <title>Project</title>
> <chapter>
> <title>Database</title>
> &database;
> </chapter>
></book>
>
>Then, I the dbms/docs/database.xmldoc file has its code as:
><sect1>
> <imageobject>
> <imagedata fileref="images-db/schema_picture.bmp"/>
> </imageobject>
></sect1>
>
>When I publish the book, Project, I don't see the bmp although the text
>of dbms/docs/database.xmldoc is found in the book.
>
>When I redo the document like so,
>
><!DOCTYPE book PUBLIC "...." []>
><book>
> <title>Project</title>
> <chapter>
> <title>Database</title>
> <sect1>
> <imageobject>
> <imagedata fileref="images-db/schema_picture.bmp"/>
> </imageobject>
> </sect1>
> </chapter>
></book>
>
>I see the image.
>
>What "relative path" issue with XML am I missing out on?
>
>Thanks.
>--
>Galen deForest Boyer
>Sweet dreams and flying machines in pieces on the ground.