Page 1 of 1

display subtag in outline view

Posted: Wed Sep 05, 2007 10:57 am
by mikes222
Dear Oxygen Team!

During editing of Docbook documents it would be nice to see the content of the subtag "title" in the outline-view in Eclipse.

The docbook-xml looks like:

<chapter>
<title>Chapter 1</title>
</chapter>

In the outline-view it would be nice to see "Chapter 1" beneath the chapter-tag.

Currently it is only possible to show attributes of the chapter-tag itself (name, id by default) which leads to additional effort during the editing of the docbook documents in order to get the same result.

regards,

Mike

Posted: Wed Sep 05, 2007 11:03 am
by mikes222
Hello!

When thinking further that would lead to a behaviour like this:

"When there are no attributes that should be displayed, use the first subtag with a content"

This would be more generic.

regards,

Mike

Posted: Thu Sep 06, 2007 11:00 am
by sorin_ristache
Hello,
mikes222 wrote:Currently it is only possible to show attributes of the chapter-tag itself
It is also possible to display in a node of the outline tree the beginning of the text content of an element. The Text toggle button from the toolbar of the Outline view controls the display of the beginning of the text content. When the button is pressed the text content "Chapter 1" is displayed in the outline tree in the node of the title element. I think that displaying the text content of a child element in the node of the parent element could be confusing in general.


Regards,
Sorin