This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Dealing with xml:base when processing ulinks to html
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Jirka Kosek" <jirka at kosek dot cz>, "Jeffrey Yasskin" <jyasskin at gmail dot com>
- Cc: <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 8 Sep 2004 07:51:57 -0700
- Subject: Re: [docbook-apps] Dealing with xml:base when processing ulinks to html
- References: <5d44f72f04090716194fc91090@mail.gmail.com> <413EADFB.1070701@kosek.cz>
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
------------------------------------------------------------------