Skip to main content
June 1, 2011
Question

Force element catalog to display only defined elements

  • June 1, 2011
  • 5 replies
  • 788 views

Hi all,

I have received a document in which some elements have been removed in the EDD (the element definitions of these elements were deleted). For some reason, the element catalog of Framemaker 9 still lists these elements though. When you try to insert such an element by double-clicking it in the element catalog, Framemaker displays the error message that this element is not defined.

Is there a way to clean up the element catalog to only display elements that are defined in the EDD? Maybe the problem is that the removed elements are still mentioned in the context rules of other elements.

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

5 replies

August 3, 2011

Hi,

I guess this is an FM document and not a xml file?

Do you have the new EDD?

If yes, then the simplest way would be to import the element definitions again.

You will also get some errors then, if there are still some problems with none existing elements being listed in the General Rules.

Regards,

Anna

Inspiring
June 5, 2011

Robert,

  It's not context rules but general rules (or possibly inclusions) that still refer to the element types whose definitions have been removed. That's why the undefined elements appear in the Element Catalog.

         --Lynne

June 6, 2011

Hello Lynn,

do you know where I can find these General Rules? All I find is the

topic.rules.txt file under \Structure\xml\DITA\app\DITA-Topic-FM. I

tried to add something like attribute "xxx" drop; but it does not do the

trick.

Robert

Van Kurtz
Inspiring
June 1, 2011

Robert,

Maybe the problem is that the removed elements are still mentioned in the context rules of other elements.

You may be correct. It is easy to find out. With the document open, select StructureTools > Export Element Catalog as EDD. The result is a structured Frame file of the EDD, just like the one last imported into the document, except that the elements are listed in alphabetical order. You can search for the deleted elements and clean up the EDD as you wish. Then import it back into the document, or all the documents in the book (if part of a book).

Be sure to backup all your files...just in case.

Van