atom feed10 messages in org.oasis-open.lists.docbook-appsRe: [docbook-apps] <link xlink:href="...
FromSent OnAttachments
Christian RothOct 20, 2006 2:29 pm 
Chris ChiassonOct 20, 2006 2:46 pm 
Christian RothOct 20, 2006 3:14 pm 
Bob StaytonOct 20, 2006 5:18 pm 
cstr...@arielpartners.comOct 20, 2006 5:37 pm 
Chris ChiassonOct 20, 2006 8:09 pm 
Bob StaytonOct 20, 2006 8:42 pm 
Christian RothOct 21, 2006 2:11 am 
Mauritz JeansonOct 21, 2006 3:34 am 
Christian RothOct 21, 2006 5:03 am 
Subject:Re: [docbook-apps] <link xlink:href="..."> in XHTML output (DocBook XSL 1.71.1)
From:cstr...@arielpartners.com (cstr@arielpartners.com)
Date:Oct 20, 2006 5:37:18 pm
List:org.oasis-open.lists.docbook-apps

Link didn't work for me, either. I had to use ulink e.g. <ulink url="http://www.yahoo.com">yahoo</ulink>

--Craeg

Hi Christian, More importantly, did you put the DocBook namespace declaration on the root element of your document? That is what makes it a DocBook 5 document, and that is what triggers the stylesheets to handle such links.

----- Original Message ----- From: "Christian Roth" <ro@infinity-loop.de> Cc: "DocBook Apps Mailing List" <docb@lists.oasis-open.org> Sent: Friday, October 20, 2006 3:15 PM Subject: Re: [docbook-apps] <link xlink:href="..."> in XHTML output (DocBook XSL 1.71.1)

It is likely that you will need to use xl as the prefix instead of xlink.

Unfortunately, this didn't work, with the namespace declared xmlns:xl="http://www.w3.org/1999/xlink"

and

<link xl:href="http://www.saxonica.com/" xl:type="simple" xl:actuate="onRequest">http://www.saxonica.com</link>

I get the same result. Maybe this just isn't implemented yet since it is new for DB5. And if it is implemented, it probably should not compare on the namespace prefix, but on the namespace name. If I get the time, I'll try to look into the XSLTs to see what is actually happening.

Thanks anyway, Christian