Hi Hussein,

You are another time true =), I followed your inputs and finally found the
command needed to use xlink attributes on the elements where linkend is used
by default.
By the way I didn't found it in the menu (I think it is why I fall back
asking to the mailing), I found the commands in the toolbar (which is
sufficient when you think looking at it).

Regards,
Mimil


On 9/5/07, Hussein Shafie <hussein at xmlmind.com> wrote:
>
> 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).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070905/96b86d8e/attachment.htm
 

Reply via email to