Re: [docbook-apps] DocBook HTML and MHT Conversion Issues

From
Bob Stayton <>
Date
2006-10-04T20:42:51+00:00
ID
006c01c6e7f5$9fe6baa0$7d711bac@totoro
Thread
Re: [docbook-apps] DocBook HTML and MHT Conversion Issues
Chris,
It isn't always the case when you process a file with Saxon (and Xerces and 
the Jakarta XML commons resolver) that it writes out full paths for images. 
Can you provide more information?
Is this with a DocBook 5 document?
Have you tried setting  the parameter keep.relative.image.uris to 1 (zero 
is the default)?

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Chris Chiasson" <>
To: "Mauritz Jeanson" <>
Cc: <>; "Miller, Ray (Centech)" 
<>
Sent: Wednesday, October 04, 2006 11:59 AM
Subject: Re: [docbook-apps] DocBook HTML and MHT Conversion Issues


> When I process with Saxon (and Xerces and the Jakarta XML commons
> resolver), it writes the full file:///absolute/path/ url to image
> files into my html, xhtml, and fo output. This is not a big deal for
> fo output, but messes up html and xhtml if they are served on a web
> server. Furthermore, if the files are moved to another directory after
> being created, the absolute references break (this happens as part of
> my Ant build process, where the build directory is a different
> directory from the destination).
>
> On 10/4/06, Mauritz Jeanson <> wrote:
>> > -----Original Message-----
>> > From: 
>> >
>> > this is happening because Saxon is writing full paths into
>> > your html files
>> > xsltproc won't do this
>>
>>
>> What paths are you referring to? Image paths? I'm curious since I 
>> haven't
>> noticed any differences between Saxon and xsltproc. Can you please
>> elaborate?
>>
>> /MJ
>>
>>
>>
>>
>>
>>
>
>
> -- 
> http://chris.chiasson.name/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>