Re: [docbook-apps] <link xlink:href="..."> in XHTML output (DocBook XSL 1.71.1)

From
Chris Chiasson <>
Date
2006-10-20T21:47:22+00:00
ID
Thread
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.

I think the docbook xsl 1.xx.x stylesheets match namespaces by looking
at the characters in the prefix, not by associating a prefix with a
certain declared namespace from earlier in the document.

Unless your authoring tools require it, you don't need the DTD any more.

On 10/20/06, Christian Roth <> wrote:
> Hi,
>
> I'm using DB5 (DTD) and the DocBook XSL stylesheets 1.71.1.
>
> My source contains:
>
> <link xlink:href="http://www.saxonica.com/"
>       xlink:type="simple"
>       xlink:actuate="onRequest">http://www.saxonica.com</link>
>
> When I transform the document with ~/xhtml/docbook.xsl, this results in:
>
> <a href="#">http://www.saxonica.com</a>
>
> Do I need to make the stylesheet aware of the fact that I feed it a DB5
> document (DOCTYPE declaration?) to make linking via xlink:href work or
> might this be a bug? All other elements (from those I am actually using)
> seem to work fine.
>
> Best regards
> Christian Roth
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>


-- 
http://chris.chiasson.name/