Re: [docbook-apps] multiple Xinclude

From
Stefan Seefeld <>
Date
2008-02-21T01:16:21+00:00
ID
Thread
Re: [docbook-apps] multiple Xinclude
Mansour wrote:
> Stefan, you were right. It had to do with the xml:base attribute. In the 
> generated fo file I found that the resulting path is 
> xml:base="SECTION_DIR/IMAGES_DIR/image1.svg". It should have been 
> xml:base="CHAPTERS_DIR/SECTION_DIR/IMAGES_DIR/image1.svg". I though 
> Xinclude will automatically preserve and adjust this path. I am using 
> xalan. How can I fix this ??

My reading of http://www.w3.org/TR/xinclude/#base is that the injected 
xml:base should make sure relative URIs remain valid. If your processor 
(xalan) doesn't generate the right xml:base attribute it is a bug.

Regards,
		Stefan

-- 

       ...ich hab' noch einen Koffer in Berlin...