Menu item/key binding to insert ids

Are you missing a feature? Request its implementation here.
burto
Posts: 20
Joined: Wed Feb 09, 2005 10:15 pm

Menu item/key binding to insert ids

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Menu item/key binding to insert ids

Post 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
Post Reply