[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Dealing with xml:base when processing ulinks to html
The next release of the XSL stylesheets will resolve xml:base attributes inserted by XIncludes, but only for references to graphics files. The ulink url is never processed by the stylesheet because it doesn't know anything about the url. If you want to customize it to do so, you could take a look at the template named 'relative-uri' in common/common.xsl in the CVS tree, or wait for the next release. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Jirka Kosek" <jirka@kosek.cz> To: "Jeffrey Yasskin" <jyasskin@gmail.com> Cc: <docbook-apps@lists.oasis-open.org> Sent: Wednesday, September 08, 2004 12:00 AM Subject: Re: [docbook-apps] Dealing with xml:base when processing ulinks to html Jeffrey Yasskin wrote: > I'm using XInclude to assemble a website, and some of the source files > are in a different directory than the driver. XInclude kindly adds > xml:base attributes to keep the relative links working, but the > docbook stylesheets ignore them when converting <ulink>s to <a>s, > which breaks the links. It seems that you are using ulink for creating links between pages in your website. But for this purpose you should use olink that is able to produce correct links. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz ------------------------------------------------------------------ Profesionální školení a poradenství v oblasti technologií XML. Podívejte se na náš nově spuštěný web http://DocBook.cz ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]