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.
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
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
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
Copy link to clipboard
Copied
Excuse me, now I know what you mean - the General rules in the EDD. Thanks!
Copy link to clipboard
Copied
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