Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Force element catalog to display only defined elements

Guest
Jun 01, 2011 Jun 01, 2011

Copy link to clipboard

Copied

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.

TOPICS
Structured

Views

723
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 01, 2011 Jun 01, 2011

Copy link to clipboard

Copied

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 05, 2011 Jun 05, 2011

Copy link to clipboard

Copied

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 06, 2011 Jun 06, 2011

Copy link to clipboard

Copied

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 06, 2011 Jun 06, 2011

Copy link to clipboard

Copied

Excuse me, now I know what you mean - the General rules in the EDD. Thanks!

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 03, 2011 Aug 03, 2011

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines