pre populate navtitle

Are you missing a feature? Request its implementation here.
bjlockie
Posts: 7
Joined: Fri Jun 04, 2010 8:41 pm

pre populate navtitle

Post by bjlockie »

The "navtitle" attribute in the ditamap should be populated with the contents of the <title> element in a topicref.
This information is shown in the map view. :-)
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

Re: pre populate navtitle

Post by Radu »

Hi,

Yes, the DITA Maps view presents either the navtitle attribute set to the topic reference or the title extracted from the referenced topic.
As the DITA Open Toolkit usually does the same when generating output I do not think it is usually a good idea to have the title specified both in the referenced topic and in the navtitle attribute. In this way if the title changes it has to be modified in two places.
Can you tell us more about your usecase?
Also, when would you like the navtitle to be set to the topic title, when inserting a new topic reference or when invoking some kind of a special action?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
bjlockie
Posts: 7
Joined: Fri Jun 04, 2010 8:41 pm

Re: pre populate navtitle

Post by bjlockie »

Radu wrote:Hi,

Yes, the DITA Maps view presents either the navtitle attribute set to the topic reference or the title extracted from the referenced topic.
As the DITA Open Toolkit usually does the same when generating output I do not think it is usually a good idea to have the title specified both in the referenced topic and in the navtitle attribute. In this way if the title changes it has to be modified in two places.
Can you tell us more about your usecase?
Also, when would you like the navtitle to be set to the topic title, when inserting a new topic reference or when invoking some kind of a special action?

Regards,
Radu
I was adding topics to a ditamap that was originally created in FrameMaker and it set the navtitle in new topic references.
Oxygen should do whatever the dita-ot does. :-)
Post Reply