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

Force element catalog to display only defined elements

Guest
Jun 01, 2011 Jun 01, 2011

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
726
Translate
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

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

Translate
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

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

Translate
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

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

Translate
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

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

Translate
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
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

Translate
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