On Fri, Feb 20, 2009 at 5:42 AM, Hussein Shafie <hussein at xmlmind.com> wrote:
> No, you cannot convert the selection to a link having attribute linkend
> using Ctrl-T or Ctrl+Shift-T.
>
> This is a limitation of XMLmind XML Editor which cannot suggest by
> itself "convert to link with attribute linkend" OR "convert to linkend
> with attribute xlink:href" (the linkend and xlink:href attributes are
> mutually exclusive but one of these two attributes is required).

Interesting.  I have also run into this problem.  I guessed that this
might be the reason.  Would it be possible to extend the
'elementTemplate' configuration element to work for the "Convert" and
"Convert [wrap]" commands, so that we could do something like this in
a customization:

  <elementTemplate name="href">
    <db:link xlink:href=""/>
  </elementTemplate>

  <elementTemplate name="linkend">
    <db:link linkend=""/>
  </elementTemplate>

And then have those two options explicitly available as possibilities
when trying to convert?  That way the end result would be valid by
explicitly choosing one of the two mutually exclusive options.

Thanks for your consideration,

    John L. Clark

Reply via email to