Re: [docbook-apps] nested xinclude and figure

From
Vito Piserchia <>
Date
2009-12-17T13:37:34+00:00
ID
Thread
Re: [docbook-apps] nested xinclude and figure
Hello Patrick,

i also think the problem is in the relative paths using.
You have to specify the xml:base attribute in the main file from witch
you include the others, doing that the base path will be specified only
one time .

<book xml:base=".">
  <title>Lorem ipsum</title>    

  <xi:include href="../admin/content/part.xml"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xpointer="element(/1)" />           
    

                
</book>


hope this help ,

cheers 
Vito
On Thu, 2009-12-17 at 09:11 +0100, Patrick Riffel wrote:
> Hello Dean, 
> 
> thanks for the idea with XSLTPROC, I'll look into that. I use relative paths in all the links (the xincludes as well as the images) and I suppose that is what's causing the stylesheets to trip (because it's only in the resulting fo that the erroneous "admin/admin/admin/" occurs.
> 
> Concerning catalogs: I'm using a catalog that points to the docbook dtd and a couple of years ago I struggled to set one up for the images. I don't remember the details but I think that I couldn't get XMLMind to handle the catalog for the images so I had to do it otherwise.
> 
> cheers
> Patrick
> 
> 
>