This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [QUESTION] external links using website-2.4.0
- From: Bob Stayton <bobs at caldera dot com>
- To: daniel dot haischt at daniel-s-haischt dot biz
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Sun, 26 Jan 2003 16:03:19 -0800
- Subject: Re: DOCBOOK-APPS: [QUESTION] external links using website-2.4.0
- References: <APEOIPNONHGHPMCCJDNGMEKMCCAA.sirabyss@gmx.net>
On Sun, Jan 26, 2003 at 06:54:42PM +0100, Daniel S. Haischt wrote:
> hello,
>
> if just downloaded the new website dtd and tried
> to use external links (off-site) within layout.xml
> (as i remember, XSLT processing failed if using
> off-site links in previous versions of website).
>
> the good thing is that all my oof-site links will
> be recognized an processed. the bad thing is that
> each URL of an off-site link gets lost in the actuall
> HTML page and will be replaced by a single '/'.
>
> that means http://foobar.com/ gets converted into /.
>
> here is a sample of the contents of my layout.xml.
>
> --------8<-------------8<-----------8<----------8<--------
> <toc page="website.xml" filename="index.html">
> <title>Home</title>
> <tocentry id="sf" page="sf.xml" filename="sf.html">
> <title>SourceForge</title>
> <tocentry id="sfinfo" page="sfinfo.xml" filename="sfinfo.html">
> <title>Infos</title>
> </tocentry>
> <tocentry id="tracker"
> href="http://sourceforge.net/tracker/?group_id=63355">
> <title>Tracker</title>
> </tocentry>
> </tocentry>
> </toc>
> -------->8------------->8----------->8---------->8--------
>
> i've just take a look at the layout.xml which comes with the website
> examples but i am not getting what i am doing different.
Hmm, I've been testing Website 2.4.0 and I can't
duplicate this problem. I cut and pasted your tocentry into the example
layout.xml file, processed it with xsltproc, and the
href works fine. I can't see what is wrong.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com