Page 1 of 1

Menu item/key binding to insert ids

Posted: Fri Oct 12, 2007 5:03 pm
by burto
Hi,

Sorry if this is already possible but I would like oxygen to be able to provide ID completion (insert ID string at the current cursor position) - the IDs could be found by looking at elements' attributes of type ID.

Ideally, you could specify only IDs in the current doc or in all the docs open.

The reason I want to have this is so it would make filling in the target ID easier when using the docbook <olink> element. The ID is not being assigned to an attribute of type IDREF.

Cheers,

Mark

Posted: Mon Oct 15, 2007 11:25 am
by sorin_ristache
Hello,

The content completion assistant is able (the paragraphs after the image) to offer the values of the attributes of type ID when the value of an IDREF attribute must be inserted. This works for DTD, XML Schema and Relax NG schemas and offers the ID values only from the current document which possibly includes some fragments with XInclude. It does not offer ID values from other documents. The <olink> element is used to insert a link to other document so the content completion cannot help you with that. We will consider listing also the ID values from the other documents that are opened in oXygen in other editor panels.


Regards,
Sorin

Re: Menu item/key binding to insert ids

Posted: Mon Sep 28, 2009 4:24 pm
by sorin_ristache
Hello,
burto wrote:The reason I want to have this is so it would make filling in the target ID easier when using the docbook <olink> element.
You should use the Olink dialog in Author mode opened by the built-in action Insert Olink of the DocBook document type.


Regards,
Sorin