This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
------------------------------------------------------------------



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]