This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
[docbook] References to external files relative to xml:base?
- From: Justus dot Piater at ULg dot ac dot be (Justus H. Piater)
- To: docbook at lists dot oasis-open dot org
- Date: Sun, 29 Feb 2004 18:43:59 +0100
- Subject: [docbook] References to external files relative to xml:base?
Question/proposal:
Similarly to XIncludes, shouldn't all references (by relative paths)
to external files (imagedata fileref etc.) be evaluated relative to
xml:base?
Currently, when I xi:include components from another directory, I have
to link any files referenced from those comonents to the current
directory. I think, for consistency with XInclude, this should not be
necessary.
If I understand things correctly, then this would involve collecting
xml:base attributes from the entire ancestry of the given node, and
concatenating them appropriately. Is there a canonical way to do this?
An XSLT template would be most welcome :-).
The question above is a DocBook question, while the implementation
concerns docbook-apps. Perhaps responses should be cross-posted?
Thanks,
Justus
--
Justus H. Piater, Ph.D. http://www.montefiore.ulg.ac.be/~piater/
Institut Montefiore, B28 Phone: +32-4-366-2279
Université de Liège, Belgium Fax: +32-4-366-2620
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.