Relative paths when processing DocBook 5 with DocBook 4 stylesheets
"Jan Tosovsky" <[email protected]>
| Newsgroups | gmane.text.docbook.apps |
|---|---|
| Message-ID | <[email protected]> |
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? Thanks, Jan