Daniel Dekany wrote: > If I select range of characters (pink background), and then I press > Ctrl+T (or Ctrl+Shift+T), XXE simply will not offer the "link" > element. (As a workaround I can insert a "link" element, and then > copy-paste the #text into its body.)
Other workaround: use the corresponding toolbar button (or bind the command executed by the toolbar button to a keystroke: http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.AddKeyboardShortcutDialog.html) > This problem only occurs with > DocBook 5. A RELAX NG related bug maybe. > No, this is not a bug, but a limitation. This limitation has already been reported by a number of users. Therefore, we have removed this limitation (to a certain extent; not in the general case) in next version (4.2.2 or 4.3). * Description of the limitation: The convert command cannot cope with elements having an *implicitly* required attribute. In DocBook 5, a link element must have either a linkend or an xlink:href attribute, but not both. This makes attribute linkend implicitly required. * Description of the enhancement available in next version: When the document being edited conforms to a RELAX NG schema, command Edit|Convert now uses the element templates declared as selectable="override" to possibly suggest more conversion choices. For example, this heuristic now allows to use Edit|Convert to convert the selected text to a link element having a linkend attribute. This works because the DocBook 5 configuration now contains the following element template: --- <elementTemplate name="linkend" selectable="override"> <link xmlns="http://docbook.org/ns/docbook" linkend="???"></link> </elementTemplate> ---

