Mimil Mimil wrote:
> 
> I just wanted to make a external link using Docbook 5 <link> element and 
> I don't see the xlink:href attribute on it. So I am wondering why? 
> Because it exists on other elements like <para> and as I understand 
> xlink namespace should be available on every element, no?

In DocBook 5, a link element has a ``required'' attribute which is 
linkend *OR* xlink:href. See http://docbook.org/tdg5/en/html/link.html

Therefore, if you inserted a link element already having required 
attribute linkend, there is no way to add a xlink:href attribute (and 
the other way around).

My recommendation: use the "Convert to link" button/menu found in the 
DocBook 5 tool bar.

This button/menu may be used to:
* Convert text to link+ at linkend
* Convert text to link+ at xlink:href
* Convert link+ at linkend to link+ at xlink:href
* Convert link+ at xlink:href to link+ at linkend


---
PS: In DocBook 5, almost all elements may be used as links, that's why 
you see both linkend and xlink:href attributes available in the 
Attribute tool. However, as soon as you add a linkend attribute, the 
xlink:href attribute disappears from the Attribute tool (and the other 
way around).

Reply via email to