Skip to main content
Participant
December 15, 2009
Answered

It is difficult to make xref in DITA

  • December 15, 2009
  • 3 replies
  • 603 views

The "DITA CROSS-REFERENCE" dialog shows a list of all DITA elements (hundreds).

To select an element that you want to make a link, you need to look for a long time in this list.

Is it possible to display only the elements with id attribute?

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer EvanHOlson

In the FrameMaker9/fminit/ditafm folder, open ditafm.ini


The following line specifies which elements can be targets of xrefs:

XrefElements=concept|task|reference|section|step|ph|glossentry

3 replies

EvanHOlsonCorrect answer
Participant
April 1, 2010

In the FrameMaker9/fminit/ditafm folder, open ditafm.ini


The following line specifies which elements can be targets of xrefs:

XrefElements=concept|task|reference|section|step|ph|glossentry
TeuxAuthor
Participant
April 6, 2010

This is a good solution. But it is useless because of an error in FM 9

When I open "DITA CROSS-REFERENCE" dialog I see the short list of elements in compliance with ditafm.ini

But as soon as I select a file for reference the list is updated again with hundreds of items

ScottPrentice
Inspiring
December 15, 2009

Hi Teux...

I'm not aware of any way to change the elements listed in this dialog in default FM. However, in the latest version of DITA-FMx, when you make an xref, you are only shown the elements that have an ID value .. making the list much more manageable.

     http://leximation.com/dita-fmx/

Cheers,

Scott Prentice

Leximation, Inc.

www.leximation.com

.