This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Pb with docbook XSL 1.66.1 (img src)


Hi,
You are right ! I'm using Xinclude to assemble the document.
I got success, using xsltproc with relative path to the xml document to generate.
Before I was using :
xsltproc --xinclude .... d:/David/DocumentationDocbook/DOCUMENTATION/myBook.xml
and it wasn't working as expected.

Now I'm using :
xsltproc --xinclude .... myBook.xml
and it's working.

Many thanks.

But I think, this should be custimizable in future version.




Bob Stayton a écrit:
Let me guess: are you using XInclude to assemble the document?  Does the
XInclude have the absolute path information?

In 1.66.1, the xml:base attributes that are inserted by an XInclude
processor are being included in filerefs.  I thought that if the XIncludes
used relative paths, then you should end up with a relative path.  Perhaps
this needs to be controllable by a parameter.

Can you provide more details about the directory setup and XInclude
information?

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "David Bocquet" <david.bocquet@cosytec.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, September 27, 2004 7:59 AM
Subject: [docbook-apps] Pb with docbook XSL 1.66.1 (img src)


  
I'm using the latest docbook xsl 1.66.1, and have a problem when
    
generating HTML, with the img src.
  
Indeed, the following

<imageobject><imagedata fileref="images/get_adobe_reader.gif"
    
format="GIF"/></imageobject>
  
is generated as 'using the html/docbook.xsl) :

<img
    
src=""  href="file:///D%3A/USERS/David/DocumentationDocbook/DOCUMENTATION/images/get_adobe_reader.gif">"file:///D%3A/USERS/David/DocumentationDocbook/DOCUMENTATION/images/get_
adobe_reader.gif">
  
using the 1.64.1 version, this was generated as
<img src="">

I've tied out to use the img.src.path properties to solve the pb, without
    
success.
  
How can we indicate that relative path should be used ?

Thanks for your great work on the docbook's XSL, and for for your book
    
about them.
  
Thanks in advance for your response.

David.





    


  

-- 
-----------------------------------------------------------------
David Bocquet                   Tel : 01.60.19.37.38
Cosytec                         Fax : 01.60.19.36.20
Parc club Orsay Université      mailto:david.bocquet@cosytec.com
4, rue Jean Rostand             http://www.cosytec.com
91 893 Orsay Cedex  FRANCE
-----------------------------------------------------------------



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]