OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: xml:base and DocBook stylesheets

My toolchain includes documents from various directories using XInclude. 
xml:base attributes are applied as necessary to keep relative URIs 
pointing at the right locations. This all seems to work well enough with 
the XSL-FO stylesheets. I.e. the pictures show up in the right places in 
the PDF output. However, with HTML and XHTML output this fails. IN 
particular, in the XHTML output, I'm seeing images like this:


That should be 

The DocBook input looks like this

<imagedata fileref="awt.gif" width="107px" depth="140px"/>

My guess is that the stylesheets are not properly handling cases like 
this when keep.relative.image.uris is 0. It appears to be resolving the 
relative URLs against the document's base URI rather than the actual 
base URI specified by xml:base. Thoughts?

´╗┐Elliotte Rusty Harold  elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]