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: Relative paths when processing DocBook 5 with DocBook 4 stylesheets

Dear All,

I am facing relative path issue described in
http://www.sagehill.net/docbookxsl/ProcesingDb5.html :

>> The disadvantages of [DocBook 4] stylesheets for DocBook 5 are:
>> - The act of copying the content into a node set loses the base URI of
the document. This can create problems with relative path references for
images ...

In my case all relative images has become absolute.

I can imagine to override <xsl:template name="xml.base.dirs"> template
located in /common/common.xsl, which would simply remove the prefix passed
as a template parameter.

Or are there better/built-in ways?



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